catch circular depdency errors, too

This commit is contained in:
John Bintz 2012-04-17 09:06:47 -04:00
parent 7b3540ff0c
commit 985634331f

View File

@ -108,7 +108,7 @@ module Flowerbox
@results
rescue => e
case e
when ExecJS::RuntimeError, ExecJS::ProgramError, Sprockets::FileNotFound
when ExecJS::RuntimeError, ExecJS::ProgramError, Sprockets::FileNotFound, Sprockets::CircularDependencyError
handle_coffeescript_compilation_error(e)
else
raise e