Skip to content

Commit

Permalink
misc
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbastian-trayio committed Jun 28, 2019
1 parent 061b907 commit ee10b4e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/addMethod/addMethodREST.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,7 @@ module.exports = function (methodName, config, afterHeadersFunction) {
if (_.isError(err) && err.message === 'socket hang up') {
return handleReject( {
code: 'api_timeout',
response:
{},
response: {},
message: 'API call timeout. Looks like the API you\'re calling is having a wobble. Please try again later.'
});
}
Expand Down

0 comments on commit ee10b4e

Please sign in to comment.