Skip to content

Instantly share code, notes, and snippets.

@ConradIrwin
Created August 29, 2014 17:29
Show Gist options
  • Select an option

  • Save ConradIrwin/88ee464fe8e01eacb011 to your computer and use it in GitHub Desktop.

Select an option

Save ConradIrwin/88ee464fe8e01eacb011 to your computer and use it in GitHub Desktop.
How to group by message in bugsnag-ruby
# Group by message
Bugsnag.before_notify_callbacks << lambda { |notif|
notif.grouping_hash = notif.exceptions.first.message if notif.exceptions.first.message == "MY MESSAGE"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment