mirror of
https://github.com/docusealco/docuseal
synced 2026-11-06 06:52:33 -05:00
1 parent
110cdb5123
commit
3f03d343ca
1 file changed
+1
-5
@@ -75,11 +75,7 @@ module Params
|
||||
return
|
||||
end
|
||||
|
||||
if Rails.env.production?
|
||||
Rollbar.error(message || "#{key} must follow the email format") if defined?(Rollbar)
|
||||
else
|
||||
raise_error(message || "#{key} must follow the email format")
|
||||
end
|
||||
raise_error(message || "#{key} must follow the email format")
|
||||
end
|
||||
|
||||
def unique_value(params, key, message: nil)
|
||||
|
||||
Reference in new issue
Block a user