{"action":"created","comment":{"url":"https://api.github.com/repos/monaca/monaca-cli/pulls/comments/54215643","id":54215643,"diff_hunk":"@@ -259,20 +278,20 @@\n                       util.err(error);\n                     }\n                   )\n-                },\n-                function(error) {\n-                  util.err(error);\n                 }\n-              )\n+              },\n+              function(error) {\n+                util.err(\"Unable to build this project. \" + error);\n+              }\n+            ),\n+            function(error) {\n+              util.err('Unable to create monaca project: ' + error);\n             }\n-          },\n-          function(err) {\n-            util.err(\"Unable to build this project \" + err);\n           }\n-        )\n-      },\n-      function(err) {\n-        util.err(err);\n+        ),\n+        function(err) {","path":"src/remote.js","position":300,"original_position":300,"commit_id":"a112b25ef797c11bcdbc5b09bbf5b8d389b27e21","original_commit_id":"a112b25ef797c11bcdbc5b09bbf5b8d389b27e21","user":{"login":"andipavllo","id":10593912,"avatar_url":"https://avatars.githubusercontent.com/u/10593912?v=3","gravatar_id":"","url":"https://api.github.com/users/andipavllo","html_url":"https://github.com/andipavllo","followers_url":"https://api.github.com/users/andipavllo/followers","following_url":"https://api.github.com/users/andipavllo/following{/other_user}","gists_url":"https://api.github.com/users/andipavllo/gists{/gist_id}","starred_url":"https://api.github.com/users/andipavllo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andipavllo/subscriptions","organizations_url":"https://api.github.com/users/andipavllo/orgs","repos_url":"https://api.github.com/users/andipavllo/repos","events_url":"https://api.github.com/users/andipavllo/events{/privacy}","received_events_url":"https://api.github.com/users/andipavllo/received_events","type":"User","site_admin":false},"body":"Here I could not force an error, maybe Fran can check what's the type of err object and confirm the user gets an appropriate error message.","created_at":"2016-02-26T08:29:29Z","updated_at":"2016-02-26T08:29:29Z","html_url":"https://github.com/monaca/monaca-cli/pull/42#discussion_r54215643","pull_request_url":"https://api.github.com/repos/monaca/monaca-cli/pulls/42","_links":{"self":{"href":"https://api.github.com/repos/monaca/monaca-cli/pulls/comments/54215643"},"html":{"href":"https://github.com/monaca/monaca-cli/pull/42#discussion_r54215643"},"pull_request":{"href":"https://api.github.com/repos/monaca/monaca-cli/pulls/42"}}},"pull_request":{"url":"https://api.github.com/repos/monaca/monaca-cli/pulls/42","id":60807998,"html_url":"https://github.com/monaca/monaca-cli/pull/42","diff_url":"https://github.com/monaca/monaca-cli/pull/42.diff","patch_url":"https://github.com/monaca/monaca-cli/pull/42.patch","issue_url":"https://api.github.com/repos/monaca/monaca-cli/issues/42","number":42,"state":"open","locked":false,"title":"Added optional --output parameter + build availability.","user":{"login":"andipavllo","id":10593912,"avatar_url":"https://avatars.githubusercontent.com/u/10593912?v=3","gravatar_id":"","url":"https://api.github.com/users/andipavllo","html_url":"https://github.com/andipavllo","followers_url":"https://api.github.com/users/andipavllo/followers","following_url":"https://api.github.com/users/andipavllo/following{/other_user}","gists_url":"https://api.github.com/users/andipavllo/gists{/gist_id}","starred_url":"https://api.github.com/users/andipavllo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andipavllo/subscriptions","organizations_url":"https://api.github.com/users/andipavllo/orgs","repos_url":"https://api.github.com/users/andipavllo/repos","events_url":"https://api.github.com/users/andipavllo/events{/privacy}","received_events_url":"https://api.github.com/users/andipavllo/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-02-26T08:26:35Z","updated_at":"2016-02-26T08:29:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"99efc86b70677df13a3c03e36af9637de40b2160","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/monaca/monaca-cli/pulls/42/commits","review_comments_url":"https://api.github.com/repos/monaca/monaca-cli/pulls/42/comments","review_comment_url":"https://api.github.com/repos/monaca/monaca-cli/pulls/comments{/number}","comments_url":"https://api.github.com/repos/monaca/monaca-cli/issues/42/comments","statuses_url":"https://api.github.com/repos/monaca/monaca-cli/statuses/a112b25ef797c11bcdbc5b09bbf5b8d389b27e21","head":{"label":"monaca:cli-enhancement2","ref":"cli-enhancement2","sha":"a112b25ef797c11bcdbc5b09bbf5b8d389b27e21","user":{"login":"monaca","id":1088627,"avatar_url":"https://avatars.githubusercontent.com/u/1088627?v=3","gravatar_id":"","url":"https://api.github.com/users/monaca","html_url":"https://github.com/monaca","followers_url":"https://api.github.com/users/monaca/followers","following_url":"https://api.github.com/users/monaca/following{/other_user}","gists_url":"https://api.github.com/users/monaca/gists{/gist_id}","starred_url":"https://api.github.com/users/monaca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monaca/subscriptions","organizations_url":"https://api.github.com/users/monaca/orgs","repos_url":"https://api.github.com/users/monaca/repos","events_url":"https://api.github.com/users/monaca/events{/privacy}","received_events_url":"https://api.github.com/users/monaca/received_events","type":"Organization","site_admin":false},"repo":{"id":26429801,"name":"monaca-cli","full_name":"monaca/monaca-cli","owner":{"login":"monaca","id":1088627,"avatar_url":"https://avatars.githubusercontent.com/u/1088627?v=3","gravatar_id":"","url":"https://api.github.com/users/monaca","html_url":"https://github.com/monaca","followers_url":"https://api.github.com/users/monaca/followers","following_url":"https://api.github.com/users/monaca/following{/other_user}","gists_url":"https://api.github.com/users/monaca/gists{/gist_id}","starred_url":"https://api.github.com/users/monaca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monaca/subscriptions","organizations_url":"https://api.github.com/users/monaca/orgs","repos_url":"https://api.github.com/users/monaca/repos","events_url":"https://api.github.com/users/monaca/events{/privacy}","received_events_url":"https://api.github.com/users/monaca/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/monaca/monaca-cli","description":"Command line version of Monaca","fork":false,"url":"https://api.github.com/repos/monaca/monaca-cli","forks_url":"https://api.github.com/repos/monaca/monaca-cli/forks","keys_url":"https://api.github.com/repos/monaca/monaca-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/monaca/monaca-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/monaca/monaca-cli/teams","hooks_url":"https://api.github.com/repos/monaca/monaca-cli/hooks","issue_events_url":"https://api.github.com/repos/monaca/monaca-cli/issues/events{/number}","events_url":"https://api.github.com/repos/monaca/monaca-cli/events","assignees_url":"https://api.github.com/repos/monaca/monaca-cli/assignees{/user}","branches_url":"https://api.github.com/repos/monaca/monaca-cli/branches{/branch}","tags_url":"https://api.github.com/repos/monaca/monaca-cli/tags","blobs_url":"https://api.github.com/repos/monaca/monaca-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/monaca/monaca-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/monaca/monaca-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/monaca/monaca-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/monaca/monaca-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/monaca/monaca-cli/languages","stargazers_url":"https://api.github.com/repos/monaca/monaca-cli/stargazers","contributors_url":"https://api.github.com/repos/monaca/monaca-cli/contributors","subscribers_url":"https://api.github.com/repos/monaca/monaca-cli/subscribers","subscription_url":"https://api.github.com/repos/monaca/monaca-cli/subscription","commits_url":"https://api.github.com/repos/monaca/monaca-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/monaca/monaca-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/monaca/monaca-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/monaca/monaca-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/monaca/monaca-cli/contents/{+path}","compare_url":"https://api.github.com/repos/monaca/monaca-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/monaca/monaca-cli/merges","archive_url":"https://api.github.com/repos/monaca/monaca-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/monaca/monaca-cli/downloads","issues_url":"https://api.github.com/repos/monaca/monaca-cli/issues{/number}","pulls_url":"https://api.github.com/repos/monaca/monaca-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/monaca/monaca-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/monaca/monaca-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/monaca/monaca-cli/labels{/name}","releases_url":"https://api.github.com/repos/monaca/monaca-cli/releases{/id}","deployments_url":"https://api.github.com/repos/monaca/monaca-cli/deployments","created_at":"2014-11-10T09:27:49Z","updated_at":"2016-01-21T07:46:26Z","pushed_at":"2016-02-26T08:26:35Z","git_url":"git://github.com/monaca/monaca-cli.git","ssh_url":"git@github.com:monaca/monaca-cli.git","clone_url":"https://github.com/monaca/monaca-cli.git","svn_url":"https://github.com/monaca/monaca-cli","homepage":null,"size":6680,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":2,"default_branch":"master"}},"base":{"label":"monaca:master","ref":"master","sha":"1cbe92d5c6f848d7caab1e361baa3d36c80b221b","user":{"login":"monaca","id":1088627,"avatar_url":"https://avatars.githubusercontent.com/u/1088627?v=3","gravatar_id":"","url":"https://api.github.com/users/monaca","html_url":"https://github.com/monaca","followers_url":"https://api.github.com/users/monaca/followers","following_url":"https://api.github.com/users/monaca/following{/other_user}","gists_url":"https://api.github.com/users/monaca/gists{/gist_id}","starred_url":"https://api.github.com/users/monaca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monaca/subscriptions","organizations_url":"https://api.github.com/users/monaca/orgs","repos_url":"https://api.github.com/users/monaca/repos","events_url":"https://api.github.com/users/monaca/events{/privacy}","received_events_url":"https://api.github.com/users/monaca/received_events","type":"Organization","site_admin":false},"repo":{"id":26429801,"name":"monaca-cli","full_name":"monaca/monaca-cli","owner":{"login":"monaca","id":1088627,"avatar_url":"https://avatars.githubusercontent.com/u/1088627?v=3","gravatar_id":"","url":"https://api.github.com/users/monaca","html_url":"https://github.com/monaca","followers_url":"https://api.github.com/users/monaca/followers","following_url":"https://api.github.com/users/monaca/following{/other_user}","gists_url":"https://api.github.com/users/monaca/gists{/gist_id}","starred_url":"https://api.github.com/users/monaca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monaca/subscriptions","organizations_url":"https://api.github.com/users/monaca/orgs","repos_url":"https://api.github.com/users/monaca/repos","events_url":"https://api.github.com/users/monaca/events{/privacy}","received_events_url":"https://api.github.com/users/monaca/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/monaca/monaca-cli","description":"Command line version of Monaca","fork":false,"url":"https://api.github.com/repos/monaca/monaca-cli","forks_url":"https://api.github.com/repos/monaca/monaca-cli/forks","keys_url":"https://api.github.com/repos/monaca/monaca-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/monaca/monaca-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/monaca/monaca-cli/teams","hooks_url":"https://api.github.com/repos/monaca/monaca-cli/hooks","issue_events_url":"https://api.github.com/repos/monaca/monaca-cli/issues/events{/number}","events_url":"https://api.github.com/repos/monaca/monaca-cli/events","assignees_url":"https://api.github.com/repos/monaca/monaca-cli/assignees{/user}","branches_url":"https://api.github.com/repos/monaca/monaca-cli/branches{/branch}","tags_url":"https://api.github.com/repos/monaca/monaca-cli/tags","blobs_url":"https://api.github.com/repos/monaca/monaca-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/monaca/monaca-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/monaca/monaca-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/monaca/monaca-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/monaca/monaca-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/monaca/monaca-cli/languages","stargazers_url":"https://api.github.com/repos/monaca/monaca-cli/stargazers","contributors_url":"https://api.github.com/repos/monaca/monaca-cli/contributors","subscribers_url":"https://api.github.com/repos/monaca/monaca-cli/subscribers","subscription_url":"https://api.github.com/repos/monaca/monaca-cli/subscription","commits_url":"https://api.github.com/repos/monaca/monaca-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/monaca/monaca-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/monaca/monaca-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/monaca/monaca-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/monaca/monaca-cli/contents/{+path}","compare_url":"https://api.github.com/repos/monaca/monaca-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/monaca/monaca-cli/merges","archive_url":"https://api.github.com/repos/monaca/monaca-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/monaca/monaca-cli/downloads","issues_url":"https://api.github.com/repos/monaca/monaca-cli/issues{/number}","pulls_url":"https://api.github.com/repos/monaca/monaca-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/monaca/monaca-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/monaca/monaca-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/monaca/monaca-cli/labels{/name}","releases_url":"https://api.github.com/repos/monaca/monaca-cli/releases{/id}","deployments_url":"https://api.github.com/repos/monaca/monaca-cli/deployments","created_at":"2014-11-10T09:27:49Z","updated_at":"2016-01-21T07:46:26Z","pushed_at":"2016-02-26T08:26:35Z","git_url":"git://github.com/monaca/monaca-cli.git","ssh_url":"git@github.com:monaca/monaca-cli.git","clone_url":"https://github.com/monaca/monaca-cli.git","svn_url":"https://github.com/monaca/monaca-cli","homepage":null,"size":6680,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/monaca/monaca-cli/pulls/42"},"html":{"href":"https://github.com/monaca/monaca-cli/pull/42"},"issue":{"href":"https://api.github.com/repos/monaca/monaca-cli/issues/42"},"comments":{"href":"https://api.github.com/repos/monaca/monaca-cli/issues/42/comments"},"review_comments":{"href":"https://api.github.com/repos/monaca/monaca-cli/pulls/42/comments"},"review_comment":{"href":"https://api.github.com/repos/monaca/monaca-cli/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/monaca/monaca-cli/pulls/42/commits"},"statuses":{"href":"https://api.github.com/repos/monaca/monaca-cli/statuses/a112b25ef797c11bcdbc5b09bbf5b8d389b27e21"}}}}