Skip to content

Commit

Permalink
Exit on hubot-scripts.json errors
Browse files Browse the repository at this point in the history
  • Loading branch information
technicalpickles committed Mar 10, 2013
1 parent 04dc820 commit cd0384c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/hubot
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ else
robot.loadHubotScripts scriptsPath, scripts
catch err
console.error "Error parsing JSON data from hubot-scripts.json: #{err}"
process.exit(1)

externalScripts = Path.resolve ".", "external-scripts.json"
Fs.exists externalScripts, (exists) ->
Expand Down

0 comments on commit cd0384c

Please sign in to comment.