Skip to content

Instantly share code, notes, and snippets.

@ambethia
Created February 8, 2010 14:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ambethia/298181 to your computer and use it in GitHub Desktop.
Save ambethia/298181 to your computer and use it in GitHub Desktop.
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