mirror of
https://github.com/docusealco/docuseal
synced 2026-11-07 23:32:33 -05:00
add log
This commit is contained in:
1 parent
a3d54db4c6
commit
e8e32e5d1f
1 file changed
+2
@@ -58,6 +58,8 @@ class EsignSettingsController < ApplicationController
|
||||
|
||||
redirect_to settings_esign_path, notice: 'Certificate has been successfully added!'
|
||||
rescue OpenSSL::PKCS12::PKCS12Error => e
|
||||
Rollbar.error(e) if defined?(Rollbar)
|
||||
|
||||
@cert_record.errors.add(:password, e.message)
|
||||
|
||||
render turbo_stream: turbo_stream.replace(:modal, template: 'esign_settings/new'), status: :unprocessable_entity
|
||||
|
||||
Reference in new issue
Block a user