Permalink
Browse files

remove java-ism. geesh.

  • Loading branch information...
1 parent 580ba91 commit 26c8de746df82bd8d6b0ff63d16f028e112234ad Doug Seifert committed Nov 13, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/sms_fu.rb
View
@@ -1,11 +1,11 @@
begin
require 'action_mailer'
-catch Exception => e
+rescue Exception => e
puts "sms_fu: WARN: action_mailer could not be loaded, unable to send messages using ActionMailer"
end
begin
require 'pony'
-catch Exception => e
+rescue Exception => e
puts "sms_fu: WARN: pony could not be loaded, unable to send messages using pony"
end
require 'yaml'

0 comments on commit 26c8de7

Please sign in to comment.