Skip to content

Instantly share code, notes, and snippets.

@blackxored
Created April 1, 2014 14:06
Show Gist options
  • Save blackxored/9914768 to your computer and use it in GitHub Desktop.
Save blackxored/9914768 to your computer and use it in GitHub Desktop.
Bugsnag.before_notify_callbacks << ->(notif) {
if current_user
notif.add_tab(:user, {
id: current_user.id,
username: current_user.username,
ip: notif.user_id
})
end
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment