remove log

This commit is contained in:
Pete Matsyburka committed 2024-07-29 16:50:25 +03:00
1 parent b94e6bf54a
commit 637011d55a
2 files changed
+2 -6

No files matched your search

+1 -3
View File
@@ -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
View File
@@ -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