Skip to content

Commit

Permalink
Another check for the silly log level
Browse files Browse the repository at this point in the history
  • Loading branch information
raoulmillais committed Apr 28, 2016
1 parent f14f33d commit 7ac84ca
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/resource.js
Expand Up @@ -82,8 +82,9 @@ Resource.prototype.createAction = function (actionDefinition, isManaged) {
? '2-legged'
: actionDefinition.oauth;

this.logger.silly('Creating method: ' + fnName + ' for ' + action +
' action with ' + httpMethod + ' HTTP verb');
this.logger.silly && this.logger.silly(
'Creating method: ' + fnName + ' for ' + action +
' action with ' + httpMethod + ' HTTP verb');
/*jshint validthis: true */
function invokeAction(requestData, callback) {
var self = this;
Expand Down

0 comments on commit 7ac84ca

Please sign in to comment.