Hi
I am using open(public_url) in one of the modules and it works fine as
long as public_url is a valid URL. But when i give an invalid URL, i do
not have control on error raised- My application fails and log shows :
Errno::ENOENT) \\\"No such file or directory
How can i catch these exceptions?
Regards,
Sandeep G
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---