From 83ce401cf2d229c0e84fe62805cc166fc072f45b Mon Sep 17 00:00:00 2001 From: Pete Matsyburka Date: Mon, 4 Dec 2023 12:57:22 +0200 Subject: [PATCH] rescue timestamp response error --- app/controllers/timestamp_server_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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