Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Cleanup
  • Loading branch information
divergentdave committed Jun 22, 2016
commit e483c3512021007a69a7d220a3d84b92f0312292
3 changes: 1 addition & 2 deletions lib/Requestable.js
Original file line number Diff line number Diff line change
Expand Up @@ -280,8 +280,7 @@ function callbackErrorOrThrow(cb, path) {
let error;
if (object.hasOwnProperty('config')) {
const {status, statusText, config: {method, url}} = object;
let message = (`${status} error making request ${method} ` +
`${url}: "${statusText}"`);
let message = (`${status} error making request ${method} ${url}: "${statusText}"`);
error = new ResponseError(message, path, object);
log(`${message} ${JSON.stringify(object.data)}`);
} else {
Expand Down