mirror of
https://github.com/docusealco/docuseal
synced 2026-11-07 15:22:33 -05:00
rescue all email smtp errors
This commit is contained in:
1 parent
130c91178f
commit
545b18086a
1 file changed
+1
-1
@@ -13,7 +13,7 @@ class EmailSettingsController < ApplicationController
|
||||
else
|
||||
render :index, status: :unprocessable_entity
|
||||
end
|
||||
rescue Net::SMTPError, OpenSSL::SSL::SSLError, Net::ReadTimeout => e
|
||||
rescue StandardError => e
|
||||
flash[:alert] = e.message
|
||||
|
||||
render :index, status: :unprocessable_entity
|
||||
|
||||
Reference in new issue
Block a user