Skip to content

Commit f20043b

Browse files
committed
fix: translate TCP errors
fixes #129
1 parent ccb74f8 commit f20043b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/IAMClient.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -423,9 +423,8 @@ class IAMClient {
423423
method: 'IAMClient:request()',
424424
error: err.stack || err,
425425
});
426-
return callback(errors.InternalError);
427426
}
428-
return callback(err);
427+
return callback(errors.InternalError);
429428
});
430429
req.end();
431430
}

0 commit comments

Comments
 (0)