{"action":"created","comment":{"url":"https://api.github.com/repos/leancloud/javascript-sdk/pulls/comments/34983382","id":34983382,"diff_hunk":"@@ -385,6 +389,9 @@\n             try {\n               result = [rejectedCallback(error)];\n             } catch (e) {\n+              if(AV.Promise._debugError && e) {\n+                console.error('Error occurred in promise reject callback', e);","path":"lib/promise.js","position":23,"original_position":23,"commit_id":"6be2bbabd66daaa622e5c9482bcc313c36211755","original_commit_id":"6be2bbabd66daaa622e5c9482bcc313c36211755","user":{"login":"aisk","id":699636,"avatar_url":"https://avatars.githubusercontent.com/u/699636?v=3","gravatar_id":"","url":"https://api.github.com/users/aisk","html_url":"https://github.com/aisk","followers_url":"https://api.github.com/users/aisk/followers","following_url":"https://api.github.com/users/aisk/following{/other_user}","gists_url":"https://api.github.com/users/aisk/gists{/gist_id}","starred_url":"https://api.github.com/users/aisk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aisk/subscriptions","organizations_url":"https://api.github.com/users/aisk/orgs","repos_url":"https://api.github.com/users/aisk/repos","events_url":"https://api.github.com/users/aisk/events{/privacy}","received_events_url":"https://api.github.com/users/aisk/received_events","type":"User","site_admin":false},"body":"同上","created_at":"2015-07-20T10:43:19Z","updated_at":"2015-07-20T10:43:19Z","html_url":"https://github.com/leancloud/javascript-sdk/pull/111#discussion_r34983382","pull_request_url":"https://api.github.com/repos/leancloud/javascript-sdk/pulls/111","_links":{"self":{"href":"https://api.github.com/repos/leancloud/javascript-sdk/pulls/comments/34983382"},"html":{"href":"https://github.com/leancloud/javascript-sdk/pull/111#discussion_r34983382"},"pull_request":{"href":"https://api.github.com/repos/leancloud/javascript-sdk/pulls/111"}}},"pull_request":{"url":"https://api.github.com/repos/leancloud/javascript-sdk/pulls/111","id":40339749,"html_url":"https://github.com/leancloud/javascript-sdk/pull/111","diff_url":"https://github.com/leancloud/javascript-sdk/pull/111.diff","patch_url":"https://github.com/leancloud/javascript-sdk/pull/111.patch","issue_url":"https://api.github.com/repos/leancloud/javascript-sdk/issues/111","number":111,"state":"open","locked":false,"title":"Feature/2015.07.09","user":{"login":"killme2008","id":14142,"avatar_url":"https://avatars.githubusercontent.com/u/14142?v=3","gravatar_id":"","url":"https://api.github.com/users/killme2008","html_url":"https://github.com/killme2008","followers_url":"https://api.github.com/users/killme2008/followers","following_url":"https://api.github.com/users/killme2008/following{/other_user}","gists_url":"https://api.github.com/users/killme2008/gists{/gist_id}","starred_url":"https://api.github.com/users/killme2008/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/killme2008/subscriptions","organizations_url":"https://api.github.com/users/killme2008/orgs","repos_url":"https://api.github.com/users/killme2008/repos","events_url":"https://api.github.com/users/killme2008/events{/privacy}","received_events_url":"https://api.github.com/users/killme2008/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-20T10:38:00Z","updated_at":"2015-07-20T10:43:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"29109f085b9e6892c6227501b9f6fbcd6cda7f46","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/leancloud/javascript-sdk/pulls/111/commits","review_comments_url":"https://api.github.com/repos/leancloud/javascript-sdk/pulls/111/comments","review_comment_url":"https://api.github.com/repos/leancloud/javascript-sdk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/leancloud/javascript-sdk/issues/111/comments","statuses_url":"https://api.github.com/repos/leancloud/javascript-sdk/statuses/6be2bbabd66daaa622e5c9482bcc313c36211755","head":{"label":"killme2008:feature/2015.07.09","ref":"feature/2015.07.09","sha":"6be2bbabd66daaa622e5c9482bcc313c36211755","user":{"login":"killme2008","id":14142,"avatar_url":"https://avatars.githubusercontent.com/u/14142?v=3","gravatar_id":"","url":"https://api.github.com/users/killme2008","html_url":"https://github.com/killme2008","followers_url":"https://api.github.com/users/killme2008/followers","following_url":"https://api.github.com/users/killme2008/following{/other_user}","gists_url":"https://api.github.com/users/killme2008/gists{/gist_id}","starred_url":"https://api.github.com/users/killme2008/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/killme2008/subscriptions","organizations_url":"https://api.github.com/users/killme2008/orgs","repos_url":"https://api.github.com/users/killme2008/repos","events_url":"https://api.github.com/users/killme2008/events{/privacy}","received_events_url":"https://api.github.com/users/killme2008/received_events","type":"User","site_admin":false},"repo":{"id":31353673,"name":"javascript-sdk","full_name":"killme2008/javascript-sdk","owner":{"login":"killme2008","id":14142,"avatar_url":"https://avatars.githubusercontent.com/u/14142?v=3","gravatar_id":"","url":"https://api.github.com/users/killme2008","html_url":"https://github.com/killme2008","followers_url":"https://api.github.com/users/killme2008/followers","following_url":"https://api.github.com/users/killme2008/following{/other_user}","gists_url":"https://api.github.com/users/killme2008/gists{/gist_id}","starred_url":"https://api.github.com/users/killme2008/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/killme2008/subscriptions","organizations_url":"https://api.github.com/users/killme2008/orgs","repos_url":"https://api.github.com/users/killme2008/repos","events_url":"https://api.github.com/users/killme2008/events{/privacy}","received_events_url":"https://api.github.com/users/killme2008/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/killme2008/javascript-sdk","description":"LeanCloud JavaScript SDK","fork":true,"url":"https://api.github.com/repos/killme2008/javascript-sdk","forks_url":"https://api.github.com/repos/killme2008/javascript-sdk/forks","keys_url":"https://api.github.com/repos/killme2008/javascript-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/killme2008/javascript-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/killme2008/javascript-sdk/teams","hooks_url":"https://api.github.com/repos/killme2008/javascript-sdk/hooks","issue_events_url":"https://api.github.com/repos/killme2008/javascript-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/killme2008/javascript-sdk/events","assignees_url":"https://api.github.com/repos/killme2008/javascript-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/killme2008/javascript-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/killme2008/javascript-sdk/tags","blobs_url":"https://api.github.com/repos/killme2008/javascript-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/killme2008/javascript-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/killme2008/javascript-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/killme2008/javascript-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/killme2008/javascript-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/killme2008/javascript-sdk/languages","stargazers_url":"https://api.github.com/repos/killme2008/javascript-sdk/stargazers","contributors_url":"https://api.github.com/repos/killme2008/javascript-sdk/contributors","subscribers_url":"https://api.github.com/repos/killme2008/javascript-sdk/subscribers","subscription_url":"https://api.github.com/repos/killme2008/javascript-sdk/subscription","commits_url":"https://api.github.com/repos/killme2008/javascript-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/killme2008/javascript-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/killme2008/javascript-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/killme2008/javascript-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/killme2008/javascript-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/killme2008/javascript-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/killme2008/javascript-sdk/merges","archive_url":"https://api.github.com/repos/killme2008/javascript-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/killme2008/javascript-sdk/downloads","issues_url":"https://api.github.com/repos/killme2008/javascript-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/killme2008/javascript-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/killme2008/javascript-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/killme2008/javascript-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/killme2008/javascript-sdk/labels{/name}","releases_url":"https://api.github.com/repos/killme2008/javascript-sdk/releases{/id}","created_at":"2015-02-26T06:25:45Z","updated_at":"2015-04-29T07:01:58Z","pushed_at":"2015-07-20T10:38:43Z","git_url":"git://github.com/killme2008/javascript-sdk.git","ssh_url":"git@github.com:killme2008/javascript-sdk.git","clone_url":"https://github.com/killme2008/javascript-sdk.git","svn_url":"https://github.com/killme2008/javascript-sdk","homepage":"http://leancloud.cn/","size":5386,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"leancloud:master","ref":"master","sha":"53bf1c685e3a9575c343713774ac2613499527df","user":{"login":"leancloud","id":6660518,"avatar_url":"https://avatars.githubusercontent.com/u/6660518?v=3","gravatar_id":"","url":"https://api.github.com/users/leancloud","html_url":"https://github.com/leancloud","followers_url":"https://api.github.com/users/leancloud/followers","following_url":"https://api.github.com/users/leancloud/following{/other_user}","gists_url":"https://api.github.com/users/leancloud/gists{/gist_id}","starred_url":"https://api.github.com/users/leancloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leancloud/subscriptions","organizations_url":"https://api.github.com/users/leancloud/orgs","repos_url":"https://api.github.com/users/leancloud/repos","events_url":"https://api.github.com/users/leancloud/events{/privacy}","received_events_url":"https://api.github.com/users/leancloud/received_events","type":"Organization","site_admin":false},"repo":{"id":21419780,"name":"javascript-sdk","full_name":"leancloud/javascript-sdk","owner":{"login":"leancloud","id":6660518,"avatar_url":"https://avatars.githubusercontent.com/u/6660518?v=3","gravatar_id":"","url":"https://api.github.com/users/leancloud","html_url":"https://github.com/leancloud","followers_url":"https://api.github.com/users/leancloud/followers","following_url":"https://api.github.com/users/leancloud/following{/other_user}","gists_url":"https://api.github.com/users/leancloud/gists{/gist_id}","starred_url":"https://api.github.com/users/leancloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leancloud/subscriptions","organizations_url":"https://api.github.com/users/leancloud/orgs","repos_url":"https://api.github.com/users/leancloud/repos","events_url":"https://api.github.com/users/leancloud/events{/privacy}","received_events_url":"https://api.github.com/users/leancloud/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/leancloud/javascript-sdk","description":"LeanCloud JavaScript SDK","fork":false,"url":"https://api.github.com/repos/leancloud/javascript-sdk","forks_url":"https://api.github.com/repos/leancloud/javascript-sdk/forks","keys_url":"https://api.github.com/repos/leancloud/javascript-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/leancloud/javascript-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/leancloud/javascript-sdk/teams","hooks_url":"https://api.github.com/repos/leancloud/javascript-sdk/hooks","issue_events_url":"https://api.github.com/repos/leancloud/javascript-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/leancloud/javascript-sdk/events","assignees_url":"https://api.github.com/repos/leancloud/javascript-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/leancloud/javascript-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/leancloud/javascript-sdk/tags","blobs_url":"https://api.github.com/repos/leancloud/javascript-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/leancloud/javascript-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/leancloud/javascript-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/leancloud/javascript-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/leancloud/javascript-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/leancloud/javascript-sdk/languages","stargazers_url":"https://api.github.com/repos/leancloud/javascript-sdk/stargazers","contributors_url":"https://api.github.com/repos/leancloud/javascript-sdk/contributors","subscribers_url":"https://api.github.com/repos/leancloud/javascript-sdk/subscribers","subscription_url":"https://api.github.com/repos/leancloud/javascript-sdk/subscription","commits_url":"https://api.github.com/repos/leancloud/javascript-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/leancloud/javascript-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/leancloud/javascript-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/leancloud/javascript-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/leancloud/javascript-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/leancloud/javascript-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/leancloud/javascript-sdk/merges","archive_url":"https://api.github.com/repos/leancloud/javascript-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/leancloud/javascript-sdk/downloads","issues_url":"https://api.github.com/repos/leancloud/javascript-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/leancloud/javascript-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/leancloud/javascript-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/leancloud/javascript-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/leancloud/javascript-sdk/labels{/name}","releases_url":"https://api.github.com/repos/leancloud/javascript-sdk/releases{/id}","created_at":"2014-07-02T10:06:21Z","updated_at":"2015-07-17T10:14:46Z","pushed_at":"2015-07-20T10:38:44Z","git_url":"git://github.com/leancloud/javascript-sdk.git","ssh_url":"git@github.com:leancloud/javascript-sdk.git","clone_url":"https://github.com/leancloud/javascript-sdk.git","svn_url":"https://github.com/leancloud/javascript-sdk","homepage":"http://leancloud.cn/","size":6185,"stargazers_count":40,"watchers_count":40,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":23,"mirror_url":null,"open_issues_count":17,"forks":23,"open_issues":17,"watchers":40,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/leancloud/javascript-sdk/pulls/111"},"html":{"href":"https://github.com/leancloud/javascript-sdk/pull/111"},"issue":{"href":"https://api.github.com/repos/leancloud/javascript-sdk/issues/111"},"comments":{"href":"https://api.github.com/repos/leancloud/javascript-sdk/issues/111/comments"},"review_comments":{"href":"https://api.github.com/repos/leancloud/javascript-sdk/pulls/111/comments"},"review_comment":{"href":"https://api.github.com/repos/leancloud/javascript-sdk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/leancloud/javascript-sdk/pulls/111/commits"},"statuses":{"href":"https://api.github.com/repos/leancloud/javascript-sdk/statuses/6be2bbabd66daaa622e5c9482bcc313c36211755"}}}}