Created
February 8, 2010 14:33
-
-
Save ambethia/298181 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HoptoadNotifier.notify(:error_class => "video_manipulator:thumbnail", | |
:error_message => ex.message, | |
:backtrace => ex.backtrace, | |
:parameters => {:options => options}) | |
versus | |
HoptoadNotifier.notify( :error_class => "video_manipulator:thumbnail", | |
:error_message => ex.message, | |
:backtrace => ex.backtrace, | |
:parameters => {:options => options}) | |
HoptoadNotifier.notify(:error_class => "video_manipulator:thumbnail", | |
:error_message_with_long_message => ex.message, | |
:backtrace => ex.backtrace, | |
:parameters => {:options => options}) | |
versus | |
HoptoadNotifier.notify( :error_class => "video_manipulator:thumbnail", | |
:error_message_with_long_message => ex.message, | |
:backtrace => ex.backtrace, | |
:parameters => {:options => options}) | |
versus | |
# Assuming 1.8 style hashes where order doesn't matter and/or error_message_with_long_message is not first. | |
HoptoadNotifier.notify(:error_class => "video_manipulator:thumbnail", | |
:error_message_with_long_message => ex.message, | |
:backtrace => ex.backtrace, | |
:parameters => {:options => options}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment