Permalink
Browse files

Fix shell adapter to log full stack on error, not just the first line

  • Loading branch information...
1 parent f88a8fc commit 7f94fe0b8af1a82225d84dba7c5767b11c9343c3 @technicalpickles technicalpickles committed Oct 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/adapters/shell.coffee
@@ -22,7 +22,7 @@ class Shell extends Adapter
stdout = process.stdout
process.on 'uncaughtException', (err) =>
- @robot.logger.error "#{err}"
+ @robot.logger.error err.stack
@repl = Readline.createInterface stdin, stdout, null

0 comments on commit 7f94fe0

Please sign in to comment.