Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Catch all.

  • Loading branch information...
commit c1d50d4fc5f570b8acd8a4ab1abfcf9bac5e5dfb 1 parent 57d4ee3
@razielgn authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/formulas.rb
View
2  lib/formulas.rb
@@ -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.
Something went wrong with that request. Please try again.