diff --git a/app/controllers/timestamp_server_controller.rb b/app/controllers/timestamp_server_controller.rb index 86d45b9a..619a13b7 100644 --- a/app/controllers/timestamp_server_controller.rb +++ b/app/controllers/timestamp_server_controller.rb @@ -14,7 +14,7 @@ class TimestampServerController < ApplicationController else redirect_back fallback_location: settings_notifications_path, alert: 'Unable to save' 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' end