Permalink
Browse files

Rescue StandardError only.

  • Loading branch information...
netzpirat committed Mar 5, 2012
1 parent 852f764 commit b98d085258d5cd8345594838a5a5ceb24cfc2160
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/guard/coffeescript/runner.rb
@@ -61,7 +61,7 @@ def compile_files(files, watchers, options)
begin
content = compile(file, options)
changed_files << write_javascript_file(content, file, directory, options)
- rescue Exception => e
+ rescue => e
error_message = file + ': ' + e.message.to_s
errors << error_message
Formatter.error(error_message)

0 comments on commit b98d085

Please sign in to comment.