Skip to content

Commit

Permalink
fix undefined error reported upon token refresh failure
Browse files Browse the repository at this point in the history
  • Loading branch information
boneskull committed Jun 27, 2018
1 parent 612522d commit f8f4499
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion box/box.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ module.exports = function(RED) {
return;
}
if (data.error) {
node.error(RED._("box.error.refresh-token-error",{message:data.error.message}));
node.error(RED._("box.error.refresh-token-error",{message:data.error}));
return;
}
// console.log("refreshed: " + require('util').inspect(data));
Expand Down

0 comments on commit f8f4499

Please sign in to comment.