Permalink
Browse files

Catch all.

  • Loading branch information...
1 parent 57d4ee3 commit c1d50d4fc5f570b8acd8a4ab1abfcf9bac5e5dfb @razielgn committed Feb 22, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/formulas.rb
View
@@ -46,7 +46,7 @@ def sandbox_run(field, code)
EvalSandbox.new(data_source: source,
object_instance: self,
code: code).eval!
- rescue SyntaxError, SecurityError => ex
+ rescue Exception => ex
calculated_fields_errors[field] = ex.message
nil
end

0 comments on commit c1d50d4

Please sign in to comment.