Browse Source

Fix debug print

master
Tony Kovanen 9 years ago
parent
commit
8da4db0fae
  1. 2
      lib/index.js

2
lib/index.js

@ -199,7 +199,7 @@ export default class Now extends EventEmitter {
// no retry on 4xx
if (400 <= res.status && 500 > res.status) {
if (this._debug) {
console.log('> [debug] bailing on listing due to %s', res.status);
console.log('> [debug] bailing on removal due to %s', res.status);
}
return bail(responseError(res));
}

Loading…
Cancel
Save