{"action":"created","comment":{"url":"https://api.github.com/repos/teddyzeenny/ember-mocha-adapter/pulls/comments/23734909","id":23734909,"diff_hunk":"@@ -25,14 +25,14 @@\n       }\n     },\n     exception: function(reason) {\n-      var error, d;\n-\n-      error = new Error(reason);\n+      if (!reason instanceof Error) {","path":"adapter.js","position":7,"original_position":7,"commit_id":"5db2a79ec50b05c263be3ce74aedac3c8fcce4ea","original_commit_id":"5db2a79ec50b05c263be3ce74aedac3c8fcce4ea","user":{"login":"ef4","id":319282,"avatar_url":"https://avatars.githubusercontent.com/u/319282?v=3","gravatar_id":"","url":"https://api.github.com/users/ef4","html_url":"https://github.com/ef4","followers_url":"https://api.github.com/users/ef4/followers","following_url":"https://api.github.com/users/ef4/following{/other_user}","gists_url":"https://api.github.com/users/ef4/gists{/gist_id}","starred_url":"https://api.github.com/users/ef4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ef4/subscriptions","organizations_url":"https://api.github.com/users/ef4/orgs","repos_url":"https://api.github.com/users/ef4/repos","events_url":"https://api.github.com/users/ef4/events{/privacy}","received_events_url":"https://api.github.com/users/ef4/received_events","type":"User","site_admin":false},"body":"ack, good catch.","created_at":"2015-01-28T23:38:01Z","updated_at":"2015-01-28T23:38:01Z","html_url":"https://github.com/teddyzeenny/ember-mocha-adapter/pull/31#discussion_r23734909","pull_request_url":"https://api.github.com/repos/teddyzeenny/ember-mocha-adapter/pulls/31","_links":{"self":{"href":"https://api.github.com/repos/teddyzeenny/ember-mocha-adapter/pulls/comments/23734909"},"html":{"href":"https://github.com/teddyzeenny/ember-mocha-adapter/pull/31#discussion_r23734909"},"pull_request":{"href":"https://api.github.com/repos/teddyzeenny/ember-mocha-adapter/pulls/31"}}},"pull_request":{"url":"https://api.github.com/repos/teddyzeenny/ember-mocha-adapter/pulls/31","id":28234980,"html_url":"https://github.com/teddyzeenny/ember-mocha-adapter/pull/31","diff_url":"https://github.com/teddyzeenny/ember-mocha-adapter/pull/31.diff","patch_url":"https://github.com/teddyzeenny/ember-mocha-adapter/pull/31.patch","issue_url":"https://api.github.com/repos/teddyzeenny/ember-mocha-adapter/issues/31","number":31,"state":"open","locked":false,"title":"Preserve original stack trace","user":{"login":"ef4","id":319282,"avatar_url":"https://avatars.githubusercontent.com/u/319282?v=3","gravatar_id":"","url":"https://api.github.com/users/ef4","html_url":"https://github.com/ef4","followers_url":"https://api.github.com/users/ef4/followers","following_url":"https://api.github.com/users/ef4/following{/other_user}","gists_url":"https://api.github.com/users/ef4/gists{/gist_id}","starred_url":"https://api.github.com/users/ef4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ef4/subscriptions","organizations_url":"https://api.github.com/users/ef4/orgs","repos_url":"https://api.github.com/users/ef4/repos","events_url":"https://api.github.com/users/ef4/events{/privacy}","received_events_url":"https://api.github.com/users/ef4/received_events","type":"User","site_admin":false},"body":"Wrapping in a new Exception object causes the original stack trace to be lost.","created_at":"2015-01-28T22:17:16Z","updated_at":"2015-01-28T23:38:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b07b76840fdfad6448efab5c72eb6965fba68869","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/teddyzeenny/ember-mocha-adapter/pulls/31/commits","review_comments_url":"https://api.github.com/repos/teddyzeenny/ember-mocha-adapter/pulls/31/comments","review_comment_url":"https://api.github.com/repos/teddyzeenny/ember-mocha-adapter/pulls/comments/{number}","comments_url":"https://api.github.com/repos/teddyzeenny/ember-mocha-adapter/issues/31/comments","statuses_url":"https://api.github.com/repos/teddyzeenny/ember-mocha-adapter/statuses/5db2a79ec50b05c263be3ce74aedac3c8fcce4ea","head":{"label":"ef4:master","ref":"master","sha":"5db2a79ec50b05c263be3ce74aedac3c8fcce4ea","user":{"login":"ef4","id":319282,"avatar_url":"https://avatars.githubusercontent.com/u/319282?v=3","gravatar_id":"","url":"https://api.github.com/users/ef4","html_url":"https://github.com/ef4","followers_url":"https://api.github.com/users/ef4/followers","following_url":"https://api.github.com/users/ef4/following{/other_user}","gists_url":"https://api.github.com/users/ef4/gists{/gist_id}","starred_url":"https://api.github.com/users/ef4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ef4/subscriptions","organizations_url":"https://api.github.com/users/ef4/orgs","repos_url":"https://api.github.com/users/ef4/repos","events_url":"https://api.github.com/users/ef4/events{/privacy}","received_events_url":"https://api.github.com/users/ef4/received_events","type":"User","site_admin":false},"repo":{"id":29770118,"name":"ember-mocha-adapter","full_name":"ef4/ember-mocha-adapter","owner":{"login":"ef4","id":319282,"avatar_url":"https://avatars.githubusercontent.com/u/319282?v=3","gravatar_id":"","url":"https://api.github.com/users/ef4","html_url":"https://github.com/ef4","followers_url":"https://api.github.com/users/ef4/followers","following_url":"https://api.github.com/users/ef4/following{/other_user}","gists_url":"https://api.github.com/users/ef4/gists{/gist_id}","starred_url":"https://api.github.com/users/ef4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ef4/subscriptions","organizations_url":"https://api.github.com/users/ef4/orgs","repos_url":"https://api.github.com/users/ef4/repos","events_url":"https://api.github.com/users/ef4/events{/privacy}","received_events_url":"https://api.github.com/users/ef4/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ef4/ember-mocha-adapter","description":"A mocha adapter for ember-testing.","fork":true,"url":"https://api.github.com/repos/ef4/ember-mocha-adapter","forks_url":"https://api.github.com/repos/ef4/ember-mocha-adapter/forks","keys_url":"https://api.github.com/repos/ef4/ember-mocha-adapter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ef4/ember-mocha-adapter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ef4/ember-mocha-adapter/teams","hooks_url":"https://api.github.com/repos/ef4/ember-mocha-adapter/hooks","issue_events_url":"https://api.github.com/repos/ef4/ember-mocha-adapter/issues/events{/number}","events_url":"https://api.github.com/repos/ef4/ember-mocha-adapter/events","assignees_url":"https://api.github.com/repos/ef4/ember-mocha-adapter/assignees{/user}","branches_url":"https://api.github.com/repos/ef4/ember-mocha-adapter/branches{/branch}","tags_url":"https://api.github.com/repos/ef4/ember-mocha-adapter/tags","blobs_url":"https://api.github.com/repos/ef4/ember-mocha-adapter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ef4/ember-mocha-adapter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ef4/ember-mocha-adapter/git/refs{/sha}","trees_url":"https://api.github.com/repos/ef4/ember-mocha-adapter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ef4/ember-mocha-adapter/statuses/{sha}","languages_url":"https://api.github.com/repos/ef4/ember-mocha-adapter/languages","stargazers_url":"https://api.github.com/repos/ef4/ember-mocha-adapter/stargazers","contributors_url":"https://api.github.com/repos/ef4/ember-mocha-adapter/contributors","subscribers_url":"https://api.github.com/repos/ef4/ember-mocha-adapter/subscribers","subscription_url":"https://api.github.com/repos/ef4/ember-mocha-adapter/subscription","commits_url":"https://api.github.com/repos/ef4/ember-mocha-adapter/commits{/sha}","git_commits_url":"https://api.github.com/repos/ef4/ember-mocha-adapter/git/commits{/sha}","comments_url":"https://api.github.com/repos/ef4/ember-mocha-adapter/comments{/number}","issue_comment_url":"https://api.github.com/repos/ef4/ember-mocha-adapter/issues/comments/{number}","contents_url":"https://api.github.com/repos/ef4/ember-mocha-adapter/contents/{+path}","compare_url":"https://api.github.com/repos/ef4/ember-mocha-adapter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ef4/ember-mocha-adapter/merges","archive_url":"https://api.github.com/repos/ef4/ember-mocha-adapter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ef4/ember-mocha-adapter/downloads","issues_url":"https://api.github.com/repos/ef4/ember-mocha-adapter/issues{/number}","pulls_url":"https://api.github.com/repos/ef4/ember-mocha-adapter/pulls{/number}","milestones_url":"https://api.github.com/repos/ef4/ember-mocha-adapter/milestones{/number}","notifications_url":"https://api.github.com/repos/ef4/ember-mocha-adapter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ef4/ember-mocha-adapter/labels{/name}","releases_url":"https://api.github.com/repos/ef4/ember-mocha-adapter/releases{/id}","created_at":"2015-01-24T08:11:19Z","updated_at":"2015-01-28T22:15:58Z","pushed_at":"2015-01-28T22:15:58Z","git_url":"git://github.com/ef4/ember-mocha-adapter.git","ssh_url":"git@github.com:ef4/ember-mocha-adapter.git","clone_url":"https://github.com/ef4/ember-mocha-adapter.git","svn_url":"https://github.com/ef4/ember-mocha-adapter","homepage":null,"size":106,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"teddyzeenny:master","ref":"master","sha":"0486e899f7c6523507ada7cb88d63b29f0b8e16d","user":{"login":"teddyzeenny","id":1061742,"avatar_url":"https://avatars.githubusercontent.com/u/1061742?v=3","gravatar_id":"","url":"https://api.github.com/users/teddyzeenny","html_url":"https://github.com/teddyzeenny","followers_url":"https://api.github.com/users/teddyzeenny/followers","following_url":"https://api.github.com/users/teddyzeenny/following{/other_user}","gists_url":"https://api.github.com/users/teddyzeenny/gists{/gist_id}","starred_url":"https://api.github.com/users/teddyzeenny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teddyzeenny/subscriptions","organizations_url":"https://api.github.com/users/teddyzeenny/orgs","repos_url":"https://api.github.com/users/teddyzeenny/repos","events_url":"https://api.github.com/users/teddyzeenny/events{/privacy}","received_events_url":"https://api.github.com/users/teddyzeenny/received_events","type":"User","site_admin":false},"repo":{"id":10000624,"name":"ember-mocha-adapter","full_name":"teddyzeenny/ember-mocha-adapter","owner":{"login":"teddyzeenny","id":1061742,"avatar_url":"https://avatars.githubusercontent.com/u/1061742?v=3","gravatar_id":"","url":"https://api.github.com/users/teddyzeenny","html_url":"https://github.com/teddyzeenny","followers_url":"https://api.github.com/users/teddyzeenny/followers","following_url":"https://api.github.com/users/teddyzeenny/following{/other_user}","gists_url":"https://api.github.com/users/teddyzeenny/gists{/gist_id}","starred_url":"https://api.github.com/users/teddyzeenny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teddyzeenny/subscriptions","organizations_url":"https://api.github.com/users/teddyzeenny/orgs","repos_url":"https://api.github.com/users/teddyzeenny/repos","events_url":"https://api.github.com/users/teddyzeenny/events{/privacy}","received_events_url":"https://api.github.com/users/teddyzeenny/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/teddyzeenny/ember-mocha-adapter","description":"A mocha adapter for ember-testing.","fork":false,"url":"https://api.github.com/repos/teddyzeenny/ember-mocha-adapter","forks_url":"https://api.github.com/repos/teddyzeenny/ember-mocha-adapter/forks","keys_url":"https://api.github.com/repos/teddyzeenny/ember-mocha-adapter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/teddyzeenny/ember-mocha-adapter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/teddyzeenny/ember-mocha-adapter/teams","hooks_url":"https://api.github.com/repos/teddyzeenny/ember-mocha-adapter/hooks","issue_events_url":"https://api.github.com/repos/teddyzeenny/ember-mocha-adapter/issues/events{/number}","events_url":"https://api.github.com/repos/teddyzeenny/ember-mocha-adapter/events","assignees_url":"https://api.github.com/repos/teddyzeenny/ember-mocha-adapter/assignees{/user}","branches_url":"https://api.github.com/repos/teddyzeenny/ember-mocha-adapter/branches{/branch}","tags_url":"https://api.github.com/repos/teddyzeenny/ember-mocha-adapter/tags","blobs_url":"https://api.github.com/repos/teddyzeenny/ember-mocha-adapter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/teddyzeenny/ember-mocha-adapter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/teddyzeenny/ember-mocha-adapter/git/refs{/sha}","trees_url":"https://api.github.com/repos/teddyzeenny/ember-mocha-adapter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/teddyzeenny/ember-mocha-adapter/statuses/{sha}","languages_url":"https://api.github.com/repos/teddyzeenny/ember-mocha-adapter/languages","stargazers_url":"https://api.github.com/repos/teddyzeenny/ember-mocha-adapter/stargazers","contributors_url":"https://api.github.com/repos/teddyzeenny/ember-mocha-adapter/contributors","subscribers_url":"https://api.github.com/repos/teddyzeenny/ember-mocha-adapter/subscribers","subscription_url":"https://api.github.com/repos/teddyzeenny/ember-mocha-adapter/subscription","commits_url":"https://api.github.com/repos/teddyzeenny/ember-mocha-adapter/commits{/sha}","git_commits_url":"https://api.github.com/repos/teddyzeenny/ember-mocha-adapter/git/commits{/sha}","comments_url":"https://api.github.com/repos/teddyzeenny/ember-mocha-adapter/comments{/number}","issue_comment_url":"https://api.github.com/repos/teddyzeenny/ember-mocha-adapter/issues/comments/{number}","contents_url":"https://api.github.com/repos/teddyzeenny/ember-mocha-adapter/contents/{+path}","compare_url":"https://api.github.com/repos/teddyzeenny/ember-mocha-adapter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/teddyzeenny/ember-mocha-adapter/merges","archive_url":"https://api.github.com/repos/teddyzeenny/ember-mocha-adapter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/teddyzeenny/ember-mocha-adapter/downloads","issues_url":"https://api.github.com/repos/teddyzeenny/ember-mocha-adapter/issues{/number}","pulls_url":"https://api.github.com/repos/teddyzeenny/ember-mocha-adapter/pulls{/number}","milestones_url":"https://api.github.com/repos/teddyzeenny/ember-mocha-adapter/milestones{/number}","notifications_url":"https://api.github.com/repos/teddyzeenny/ember-mocha-adapter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/teddyzeenny/ember-mocha-adapter/labels{/name}","releases_url":"https://api.github.com/repos/teddyzeenny/ember-mocha-adapter/releases{/id}","created_at":"2013-05-11T14:47:11Z","updated_at":"2015-01-28T11:10:57Z","pushed_at":"2015-01-26T16:25:32Z","git_url":"git://github.com/teddyzeenny/ember-mocha-adapter.git","ssh_url":"git@github.com:teddyzeenny/ember-mocha-adapter.git","clone_url":"https://github.com/teddyzeenny/ember-mocha-adapter.git","svn_url":"https://github.com/teddyzeenny/ember-mocha-adapter","homepage":null,"size":346,"stargazers_count":103,"watchers_count":103,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":23,"mirror_url":null,"open_issues_count":1,"forks":23,"open_issues":1,"watchers":103,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/teddyzeenny/ember-mocha-adapter/pulls/31"},"html":{"href":"https://github.com/teddyzeenny/ember-mocha-adapter/pull/31"},"issue":{"href":"https://api.github.com/repos/teddyzeenny/ember-mocha-adapter/issues/31"},"comments":{"href":"https://api.github.com/repos/teddyzeenny/ember-mocha-adapter/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/teddyzeenny/ember-mocha-adapter/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/teddyzeenny/ember-mocha-adapter/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/teddyzeenny/ember-mocha-adapter/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/teddyzeenny/ember-mocha-adapter/statuses/5db2a79ec50b05c263be3ce74aedac3c8fcce4ea"}}}}