catch circular depdency errors, too
This commit is contained in:
parent
7b3540ff0c
commit
985634331f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user