From edc24c0382e1221ea49fe18b5eb6a0a64be5fa74 Mon Sep 17 00:00:00 2001 From: chiu Date: Wed, 6 May 2020 16:34:35 +0800 Subject: [PATCH] fix error --- app/controllers/seminars_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/seminars_controller.rb b/app/controllers/seminars_controller.rb index 5d7165f..968a28d 100644 --- a/app/controllers/seminars_controller.rb +++ b/app/controllers/seminars_controller.rb @@ -394,7 +394,7 @@ class SeminarsController < ApplicationController end begin mail.deliver - rescue e + rescue => e puts ["email can't deliver",e] end end