Skip to content

Commit

Permalink
[fix] Update bad reference to errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
indexzero committed Aug 30, 2013
1 parent fff9122 commit 8cc308c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jitsu.js
Expand Up @@ -388,7 +388,7 @@ jitsu.showError = function (command, err, shallow, skip) {

return errors.connection.length
? unknownError('Error contacting drone(s):', errors.connection[0].stack)
: unknownError('Error returned from Nodejitsu:', errors[0].stack);
: unknownError('Error returned from Nodejitsu:', err.result.errors[0].stack);
}
else if (err.result.stack) {
unknownError('Error returned from Nodejitsu:', err.result.stack);
Expand Down

0 comments on commit 8cc308c

Please sign in to comment.