diff --git a/middleman-core/lib/middleman-core/renderers/coffee_script.rb b/middleman-core/lib/middleman-core/renderers/coffee_script.rb
index <HASH>..<HASH> 100644
--- a/middleman-core/lib/middleman-core/renderers/coffee_script.rb
+++ b/middleman-core/lib/middleman-core/renderers/coffee_script.rb
@@ -31,7 +31,9 @@ module Middleman
         def evaluate(context, locals, &block)
           begin
             super
-          rescue ::ExecJS::RuntimeError=> e
+          rescue ::ExecJS::RuntimeError => e
+            e.to_s
+          rescue => e
             e.to_s
           end
         end
Catch JRuby/Coffee exception correctly