catch circular depdency errors, too
This commit is contained in:
parent
7b3540ff0c
commit
985634331f
@ -108,7 +108,7 @@ module Flowerbox
|
|||||||
@results
|
@results
|
||||||
rescue => e
|
rescue => e
|
||||||
case e
|
case e
|
||||||
when ExecJS::RuntimeError, ExecJS::ProgramError, Sprockets::FileNotFound
|
when ExecJS::RuntimeError, ExecJS::ProgramError, Sprockets::FileNotFound, Sprockets::CircularDependencyError
|
||||||
handle_coffeescript_compilation_error(e)
|
handle_coffeescript_compilation_error(e)
|
||||||
else
|
else
|
||||||
raise e
|
raise e
|
||||||
|
Loading…
Reference in New Issue
Block a user