Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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