Catch JRuby/Coffee exception correctly

This commit is contained in:
Thomas Reynolds 2012-07-07 17:29:31 -07:00
parent 5cff7cd9c1
commit 9f7f3370aa

View file

@ -33,6 +33,8 @@ module Middleman
super super
rescue ::ExecJS::RuntimeError => e rescue ::ExecJS::RuntimeError => e
e.to_s e.to_s
rescue => e
e.to_s
end end
end end
end end