Skip to content

Commit

Permalink
fixup! 93109df
Browse files Browse the repository at this point in the history
address code review comments
  • Loading branch information
bajtos committed Sep 7, 2016
1 parent a2d27ac commit 437eab4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions lib/number-checks.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Copyright IBM Corp. 2016. All Rights Reserved.
// Node module: strong-remoting
// This file is licensed under the Artistic License 2.0.
// License text available at https://opensource.org/licenses/Artistic-2.0

// To support Node v.0.10.x
var number = module.exports = {
MAX_SAFE_INTEGER: Number.MAX_SAFE_INTEGER || 9007199254740991,
Expand Down
3 changes: 2 additions & 1 deletion lib/shared-method.js
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,8 @@ SharedMethod.prototype.invoke = function(scope, args, remotingOptions, ctx, cb)
}
return retval;
} catch (err) {
debug('error caught during the invocation of %s', this.name, err);
debug('error caught during the invocation of %s: %s',
this.name, err.stack || err);
return cb(err);
}
};
Expand Down

0 comments on commit 437eab4

Please sign in to comment.