From 985634331f5606ea117b7dc9ef434224a5883deb Mon Sep 17 00:00:00 2001 From: John Bintz Date: Tue, 17 Apr 2012 09:06:47 -0400 Subject: [PATCH] catch circular depdency errors, too --- lib/flowerbox/runner/base.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/flowerbox/runner/base.rb b/lib/flowerbox/runner/base.rb index 3cc396d..6f153ff 100644 --- a/lib/flowerbox/runner/base.rb +++ b/lib/flowerbox/runner/base.rb @@ -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