Skip to content
This repository has been archived by the owner on Dec 5, 2023. It is now read-only.

Commit

Permalink
report other errors better
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbintz committed Jun 17, 2011
1 parent 293763c commit 58d8f95
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/jasmine/files_list.rb
Expand Up @@ -81,6 +81,9 @@ def ensure_coffeescript_run!(files)
fh.close
end
end
rescue StandardError => e
puts "[%s] Error in compiling one of the followng: %s" % [ 'coffeescript'.color(:red), files.join(' ').color(:yellow) ]
raise e
ensure
files.clear
end
Expand Down

0 comments on commit 58d8f95

Please sign in to comment.