lib/smess/outputs/etisalatdemo.rb in smess-1.0.4 vs lib/smess/outputs/etisalatdemo.rb in smess-1.0.5
- old
+ new
@@ -29,10 +29,10 @@
mail.delivery_method :smtp, @smtp_settings
begin
mail.deliver
- rescue Exception => e
+ rescue => e
result = {
response_code: "-1",
response: {text: "Email2sms: Delivery Error: #{e.inspect}"},
data: {
to: sms.to,
\ No newline at end of file