|
|
|
@ -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
|
|
|
|
|
|
|
|
|
|
|
|
|