payload: {"action":"created","comment":{"url":"https://api.github.com/repos/aeternity/aepp-sdk-js/pulls/comments/286065851","pull_request_review_id":240098142,"id":286065851,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI4NjA2NTg1MQ==","diff_hunk":"@@ -93,14 +101,16 @@ async function getConsensusProtocolVersion (protocols = [], height) {\n  * @param {Object} [options={}] - Options\n  * @param {String} options.url - Base URL for Node\n  * @param {String} options.internalUrl - Base URL for internal requests\n+ * @param {String} options.axiosConfig - Object with axios configuration. Example { config: {}, errorHandler: (err) => throw err }\n  * @return {Object} Node client\n  * @example Node({url: 'https://sdk-testnet.aepps.com'})\n  */\n const Node = stampit({\n-  async init ({ url = this.url, internalUrl = this.internalUrl }) {\n+  async init ({ url = this.url, internalUrl = this.internalUrl, axiosConfig: { config, errorHandler } = {} }) {\n     url = url.replace(/\\/?$/, '/')\n     // Get swagger schema\n-    const swag = await remoteSwag(url)\n+    console.log(errorHandler)","path":"es/node.js","position":51,"original_position":51,"commit_id":"547ffc99354748497eec3db2c08153c44505ffb6","original_commit_id":"547ffc99354748497eec3db2c08153c44505ffb6","user":{"login":"shekhar-shubhendu","id":9253059,"node_id":"MDQ6VXNlcjkyNTMwNTk=","avatar_url":"https://avatars1.githubusercontent.com/u/9253059?v=4","gravatar_id":"","url":"https://api.github.com/users/shekhar-shubhendu","html_url":"https://github.com/shekhar-shubhendu","followers_url":"https://api.github.com/users/shekhar-shubhendu/followers","following_url":"https://api.github.com/users/shekhar-shubhendu/following{/other_user}","gists_url":"https://api.github.com/users/shekhar-shubhendu/gists{/gist_id}","starred_url":"https://api.github.com/users/shekhar-shubhendu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shekhar-shubhendu/subscriptions","organizations_url":"https://api.github.com/users/shekhar-shubhendu/orgs","repos_url":"https://api.github.com/users/shekhar-shubhendu/repos","events_url":"https://api.github.com/users/shekhar-shubhendu/events{/privacy}","received_events_url":"https://api.github.com/users/shekhar-shubhendu/received_events","type":"User","site_admin":false},"body":"remove console.log","created_at":"2019-05-21T14:47:36Z","updated_at":"2019-05-21T14:47:37Z","html_url":"https://github.com/aeternity/aepp-sdk-js/pull/431#discussion_r286065851","pull_request_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/pulls/431","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/aeternity/aepp-sdk-js/pulls/comments/286065851"},"html":{"href":"https://github.com/aeternity/aepp-sdk-js/pull/431#discussion_r286065851"},"pull_request":{"href":"https://api.github.com/repos/aeternity/aepp-sdk-js/pulls/431"}}},"pull_request":{"url":"https://api.github.com/repos/aeternity/aepp-sdk-js/pulls/431","id":280756632,"node_id":"MDExOlB1bGxSZXF1ZXN0MjgwNzU2NjMy","html_url":"https://github.com/aeternity/aepp-sdk-js/pull/431","diff_url":"https://github.com/aeternity/aepp-sdk-js/pull/431.diff","patch_url":"https://github.com/aeternity/aepp-sdk-js/pull/431.patch","issue_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/issues/431","number":431,"state":"open","locked":false,"title":"Feature/add ability to intercept error from axios","user":{"login":"nduchak","id":41945483,"node_id":"MDQ6VXNlcjQxOTQ1NDgz","avatar_url":"https://avatars3.githubusercontent.com/u/41945483?v=4","gravatar_id":"","url":"https://api.github.com/users/nduchak","html_url":"https://github.com/nduchak","followers_url":"https://api.github.com/users/nduchak/followers","following_url":"https://api.github.com/users/nduchak/following{/other_user}","gists_url":"https://api.github.com/users/nduchak/gists{/gist_id}","starred_url":"https://api.github.com/users/nduchak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nduchak/subscriptions","organizations_url":"https://api.github.com/users/nduchak/orgs","repos_url":"https://api.github.com/users/nduchak/repos","events_url":"https://api.github.com/users/nduchak/events{/privacy}","received_events_url":"https://api.github.com/users/nduchak/received_events","type":"User","site_admin":false},"body":"","created_at":"2019-05-21T12:18:24Z","updated_at":"2019-05-21T14:47:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"af81fc21f7a3a54c8e9d27a30d9da3814a8f9b6c","assignee":{"login":"nduchak","id":41945483,"node_id":"MDQ6VXNlcjQxOTQ1NDgz","avatar_url":"https://avatars3.githubusercontent.com/u/41945483?v=4","gravatar_id":"","url":"https://api.github.com/users/nduchak","html_url":"https://github.com/nduchak","followers_url":"https://api.github.com/users/nduchak/followers","following_url":"https://api.github.com/users/nduchak/following{/other_user}","gists_url":"https://api.github.com/users/nduchak/gists{/gist_id}","starred_url":"https://api.github.com/users/nduchak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nduchak/subscriptions","organizations_url":"https://api.github.com/users/nduchak/orgs","repos_url":"https://api.github.com/users/nduchak/repos","events_url":"https://api.github.com/users/nduchak/events{/privacy}","received_events_url":"https://api.github.com/users/nduchak/received_events","type":"User","site_admin":false},"assignees":[{"login":"nduchak","id":41945483,"node_id":"MDQ6VXNlcjQxOTQ1NDgz","avatar_url":"https://avatars3.githubusercontent.com/u/41945483?v=4","gravatar_id":"","url":"https://api.github.com/users/nduchak","html_url":"https://github.com/nduchak","followers_url":"https://api.github.com/users/nduchak/followers","following_url":"https://api.github.com/users/nduchak/following{/other_user}","gists_url":"https://api.github.com/users/nduchak/gists{/gist_id}","starred_url":"https://api.github.com/users/nduchak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nduchak/subscriptions","organizations_url":"https://api.github.com/users/nduchak/orgs","repos_url":"https://api.github.com/users/nduchak/repos","events_url":"https://api.github.com/users/nduchak/events{/privacy}","received_events_url":"https://api.github.com/users/nduchak/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":832589809,"node_id":"MDU6TGFiZWw4MzI1ODk4MDk=","url":"https://api.github.com/repos/aeternity/aepp-sdk-js/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"milestone":{"url":"https://api.github.com/repos/aeternity/aepp-sdk-js/milestones/7","html_url":"https://github.com/aeternity/aepp-sdk-js/milestone/7","labels_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/milestones/7/labels","id":4312093,"node_id":"MDk6TWlsZXN0b25lNDMxMjA5Mw==","number":7,"title":"Sprint40","description":"","creator":{"login":"noandrea","id":481458,"node_id":"MDQ6VXNlcjQ4MTQ1OA==","avatar_url":"https://avatars2.githubusercontent.com/u/481458?v=4","gravatar_id":"","url":"https://api.github.com/users/noandrea","html_url":"https://github.com/noandrea","followers_url":"https://api.github.com/users/noandrea/followers","following_url":"https://api.github.com/users/noandrea/following{/other_user}","gists_url":"https://api.github.com/users/noandrea/gists{/gist_id}","starred_url":"https://api.github.com/users/noandrea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noandrea/subscriptions","organizations_url":"https://api.github.com/users/noandrea/orgs","repos_url":"https://api.github.com/users/noandrea/repos","events_url":"https://api.github.com/users/noandrea/events{/privacy}","received_events_url":"https://api.github.com/users/noandrea/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":27,"state":"open","created_at":"2019-05-14T09:01:01Z","updated_at":"2019-05-21T12:18:24Z","due_on":"2019-05-28T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/pulls/431/commits","review_comments_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/pulls/431/comments","review_comment_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/issues/431/comments","statuses_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/statuses/547ffc99354748497eec3db2c08153c44505ffb6","head":{"label":"aeternity:feature/add-ability-to-intercept-error-from-axios","ref":"feature/add-ability-to-intercept-error-from-axios","sha":"547ffc99354748497eec3db2c08153c44505ffb6","user":{"login":"aeternity","id":21989234,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIxOTg5MjM0","avatar_url":"https://avatars1.githubusercontent.com/u/21989234?v=4","gravatar_id":"","url":"https://api.github.com/users/aeternity","html_url":"https://github.com/aeternity","followers_url":"https://api.github.com/users/aeternity/followers","following_url":"https://api.github.com/users/aeternity/following{/other_user}","gists_url":"https://api.github.com/users/aeternity/gists{/gist_id}","starred_url":"https://api.github.com/users/aeternity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aeternity/subscriptions","organizations_url":"https://api.github.com/users/aeternity/orgs","repos_url":"https://api.github.com/users/aeternity/repos","events_url":"https://api.github.com/users/aeternity/events{/privacy}","received_events_url":"https://api.github.com/users/aeternity/received_events","type":"Organization","site_admin":false},"repo":{"id":120938708,"node_id":"MDEwOlJlcG9zaXRvcnkxMjA5Mzg3MDg=","name":"aepp-sdk-js","full_name":"aeternity/aepp-sdk-js","private":false,"owner":{"login":"aeternity","id":21989234,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIxOTg5MjM0","avatar_url":"https://avatars1.githubusercontent.com/u/21989234?v=4","gravatar_id":"","url":"https://api.github.com/users/aeternity","html_url":"https://github.com/aeternity","followers_url":"https://api.github.com/users/aeternity/followers","following_url":"https://api.github.com/users/aeternity/following{/other_user}","gists_url":"https://api.github.com/users/aeternity/gists{/gist_id}","starred_url":"https://api.github.com/users/aeternity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aeternity/subscriptions","organizations_url":"https://api.github.com/users/aeternity/orgs","repos_url":"https://api.github.com/users/aeternity/repos","events_url":"https://api.github.com/users/aeternity/events{/privacy}","received_events_url":"https://api.github.com/users/aeternity/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/aeternity/aepp-sdk-js","description":"Javascript SDK for the æternity blockchain","fork":false,"url":"https://api.github.com/repos/aeternity/aepp-sdk-js","forks_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/forks","keys_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/teams","hooks_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/hooks","issue_events_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/issues/events{/number}","events_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/events","assignees_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/assignees{/user}","branches_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/branches{/branch}","tags_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/tags","blobs_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/statuses/{sha}","languages_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/languages","stargazers_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/stargazers","contributors_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/contributors","subscribers_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/subscribers","subscription_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/subscription","commits_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/contents/{+path}","compare_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/merges","archive_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/downloads","issues_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/issues{/number}","pulls_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/pulls{/number}","milestones_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/milestones{/number}","notifications_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/labels{/name}","releases_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/releases{/id}","deployments_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/deployments","created_at":"2018-02-09T18:05:18Z","updated_at":"2019-05-21T08:18:17Z","pushed_at":"2019-05-21T14:40:13Z","git_url":"git://github.com/aeternity/aepp-sdk-js.git","ssh_url":"git@github.com:aeternity/aepp-sdk-js.git","clone_url":"https://github.com/aeternity/aepp-sdk-js.git","svn_url":"https://github.com/aeternity/aepp-sdk-js","homepage":"https://dev.aepps.com/","size":2795,"stargazers_count":72,"watchers_count":72,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":32,"license":{"key":"isc","name":"ISC License","spdx_id":"ISC","url":"https://api.github.com/licenses/isc","node_id":"MDc6TGljZW5zZTEw"},"forks":17,"open_issues":32,"watchers":72,"default_branch":"develop"}},"base":{"label":"aeternity:develop","ref":"develop","sha":"14ff7458a64258f2cd97923411a98061b179eb18","user":{"login":"aeternity","id":21989234,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIxOTg5MjM0","avatar_url":"https://avatars1.githubusercontent.com/u/21989234?v=4","gravatar_id":"","url":"https://api.github.com/users/aeternity","html_url":"https://github.com/aeternity","followers_url":"https://api.github.com/users/aeternity/followers","following_url":"https://api.github.com/users/aeternity/following{/other_user}","gists_url":"https://api.github.com/users/aeternity/gists{/gist_id}","starred_url":"https://api.github.com/users/aeternity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aeternity/subscriptions","organizations_url":"https://api.github.com/users/aeternity/orgs","repos_url":"https://api.github.com/users/aeternity/repos","events_url":"https://api.github.com/users/aeternity/events{/privacy}","received_events_url":"https://api.github.com/users/aeternity/received_events","type":"Organization","site_admin":false},"repo":{"id":120938708,"node_id":"MDEwOlJlcG9zaXRvcnkxMjA5Mzg3MDg=","name":"aepp-sdk-js","full_name":"aeternity/aepp-sdk-js","private":false,"owner":{"login":"aeternity","id":21989234,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIxOTg5MjM0","avatar_url":"https://avatars1.githubusercontent.com/u/21989234?v=4","gravatar_id":"","url":"https://api.github.com/users/aeternity","html_url":"https://github.com/aeternity","followers_url":"https://api.github.com/users/aeternity/followers","following_url":"https://api.github.com/users/aeternity/following{/other_user}","gists_url":"https://api.github.com/users/aeternity/gists{/gist_id}","starred_url":"https://api.github.com/users/aeternity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aeternity/subscriptions","organizations_url":"https://api.github.com/users/aeternity/orgs","repos_url":"https://api.github.com/users/aeternity/repos","events_url":"https://api.github.com/users/aeternity/events{/privacy}","received_events_url":"https://api.github.com/users/aeternity/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/aeternity/aepp-sdk-js","description":"Javascript SDK for the æternity blockchain","fork":false,"url":"https://api.github.com/repos/aeternity/aepp-sdk-js","forks_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/forks","keys_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/teams","hooks_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/hooks","issue_events_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/issues/events{/number}","events_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/events","assignees_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/assignees{/user}","branches_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/branches{/branch}","tags_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/tags","blobs_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/statuses/{sha}","languages_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/languages","stargazers_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/stargazers","contributors_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/contributors","subscribers_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/subscribers","subscription_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/subscription","commits_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/contents/{+path}","compare_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/merges","archive_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/downloads","issues_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/issues{/number}","pulls_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/pulls{/number}","milestones_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/milestones{/number}","notifications_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/labels{/name}","releases_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/releases{/id}","deployments_url":"https://api.github.com/repos/aeternity/aepp-sdk-js/deployments","created_at":"2018-02-09T18:05:18Z","updated_at":"2019-05-21T08:18:17Z","pushed_at":"2019-05-21T14:40:13Z","git_url":"git://github.com/aeternity/aepp-sdk-js.git","ssh_url":"git@github.com:aeternity/aepp-sdk-js.git","clone_url":"https://github.com/aeternity/aepp-sdk-js.git","svn_url":"https://github.com/aeternity/aepp-sdk-js","homepage":"https://dev.aepps.com/","size":2795,"stargazers_count":72,"watchers_count":72,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":32,"license":{"key":"isc","name":"ISC License","spdx_id":"ISC","url":"https://api.github.com/licenses/isc","node_id":"MDc6TGljZW5zZTEw"},"forks":17,"open_issues":32,"watchers":72,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/aeternity/aepp-sdk-js/pulls/431"},"html":{"href":"https://github.com/aeternity/aepp-sdk-js/pull/431"},"issue":{"href":"https://api.github.com/repos/aeternity/aepp-sdk-js/issues/431"},"comments":{"href":"https://api.github.com/repos/aeternity/aepp-sdk-js/issues/431/comments"},"review_comments":{"href":"https://api.github.com/repos/aeternity/aepp-sdk-js/pulls/431/comments"},"review_comment":{"href":"https://api.github.com/repos/aeternity/aepp-sdk-js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aeternity/aepp-sdk-js/pulls/431/commits"},"statuses":{"href":"https://api.github.com/repos/aeternity/aepp-sdk-js/statuses/547ffc99354748497eec3db2c08153c44505ffb6"}},"author_association":"MEMBER"}}
other: {"actor":{"display_login":"shekhar-shubhendu"}}