rescue timestamp response error

This commit is contained in:
Pete Matsyburka
2023-12-04 12:57:22 +02:00
parent 541b025ad0
commit 83ce401cf2
@@ -14,7 +14,7 @@ class TimestampServerController < ApplicationController
else else
redirect_back fallback_location: settings_notifications_path, alert: 'Unable to save' redirect_back fallback_location: settings_notifications_path, alert: 'Unable to save'
end end
rescue HexaPDF::Error, SocketError, Submissions::TimestampHandler::TimestampError rescue HexaPDF::Error, SocketError, Submissions::TimestampHandler::TimestampError, OpenSSL::Timestamp::TimestampError
redirect_back fallback_location: settings_notifications_path, alert: 'Invalid Timeserver' redirect_back fallback_location: settings_notifications_path, alert: 'Invalid Timeserver'
end end