Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Added reason of failure #196

Closed
wants to merge 1 commit into from

2 participants

@dtorres

It can fail for a number of reasons and is always important to know why, even to those who aren't directly developing hubot or its adapter to know if is the users fault or an error to report to developers.

@tombell tombell closed this in 392cd7f
@fredjean fredjean referenced this pull request from a commit
Commit has since been removed from the repository and is no longer available.
@marclar marclar referenced this pull request from a commit
Tom Bell Show error when failing to load adapter, closes #196 f8aded6
@glucero glucero referenced this pull request from a commit in absperf/hubot
Tom Bell Show error when failing to load adapter, closes #196 d455307
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 27, 2011
  1. Added reason of failure

    Diego Torres authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 0 deletions.
  1. +1 −0  src/robot.coffee
View
1  src/robot.coffee
@@ -147,6 +147,7 @@ class Robot
@adapter = require("#{path}").use(@)
catch err
@logger.error "Cannot load adapter #{adapter}, try installing the package"
+ @logger.error "Reason: #{err}"
# Public: Help Commands for Running Scripts
#
Something went wrong with that request. Please try again.