Skip to content

Commit

Permalink
Don't log the secret token
Browse files Browse the repository at this point in the history
  • Loading branch information
paulhammond committed Dec 8, 2014
1 parent 8950b23 commit e55a305
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/slack.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ class SlackBot extends Adapter
autoReconnect: true
autoMark: true

@robot.logger.info Util.inspect(options)
return @robot.logger.error "No services token provided to Hubot" unless options.token
return @robot.logger.error "v2 services token provided, please follow the upgrade instructions" unless (options.token.substring(0, 5) == 'xoxb-')

Expand Down

0 comments on commit e55a305

Please sign in to comment.