Catch JRuby/Coffee exception correctly
This commit is contained in:
parent
5cff7cd9c1
commit
9f7f3370aa
1 changed files with 3 additions and 1 deletions
|
@ -33,6 +33,8 @@ module Middleman
|
|||
super
|
||||
rescue ::ExecJS::RuntimeError => e
|
||||
e.to_s
|
||||
rescue => e
|
||||
e.to_s
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue