Skip to content

Instantly share code, notes, and snippets.

@cmelbye
Created June 29, 2016 17:49
Show Gist options
  • Save cmelbye/7892f685252b1b843db6e14ca1fb64b5 to your computer and use it in GitHub Desktop.
Save cmelbye/7892f685252b1b843db6e14ca1fb64b5 to your computer and use it in GitHub Desktop.
Raven.capture_message("Failed to send push notification (#{reason})", {
:logger => "urbanairship",
:extra => {
'Notification' => notification,
'Response' => reason,
'Response code' => response.code,
},
:user => {
'id' => recipient.id,
'email' => recipient.email,
},
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment