mirror of
https://github.com/docusealco/docuseal
synced 2026-11-06 23:12:33 -05:00
remove log
This commit is contained in:
1 parent
b94e6bf54a
commit
637011d55a
2 files changed
+2
-6
No files matched your search
@@ -79,9 +79,7 @@ module Submitters
|
||||
else
|
||||
Date.parse(value).to_s
|
||||
end
|
||||
rescue Date::Error => e
|
||||
Rollbar.warning(e) if defined?(Rollbar)
|
||||
|
||||
rescue Date::Error
|
||||
value
|
||||
end
|
||||
|
||||
|
||||
+1
-3
@@ -50,9 +50,7 @@ module TimeUtils
|
||||
.sub(/Y+/, YEAR_FORMATS[format[/Y+/]])
|
||||
|
||||
I18n.l(date, format: i18n_format, locale:)
|
||||
rescue Date::Error => e
|
||||
Rollbar.warning("#{e}: #{string}") if defined?(Rollbar)
|
||||
|
||||
rescue Date::Error
|
||||
string
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user