Skip to content
Browse files

changing back unrelated change to error output

  • Loading branch information...
1 parent 2257527 commit dee576e07f4fa050044ffe5b7883a54d5f22502d @michaelficarra michaelficarra committed Aug 19, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 Cakefile
View
2 Cakefile
@@ -206,7 +206,7 @@ runTests = (CoffeeScript) ->
match = error.stack?.match(new RegExp(fail.file+":(\\d+):(\\d+)"))
match = error.stack?.match(/on line (\d+):/) unless match
[match, line, col] = match if match
- log "\n #{error.stack}", red
+ log "\n #{error.toString()}", red
log " #{error.description}", red if error.description
log " #{jsFile}: line #{line or 'unknown'}, column #{col or 'unknown'}", red
console.log " #{error.source}" if error.source

0 comments on commit dee576e

Please sign in to comment.
Something went wrong with that request. Please try again.