cloudfuji / airbrake_user_attributes

If available, add user attributes to the airbrake exception report
9 stars 10 forks source link

If current_user is nil, it kills all error reporting #1

Closed sgrove closed 12 years ago

sgrove commented 12 years ago

There are cases where current_user is nil, and won't respond to #attributes. This causes an error in the error reporting, and no error is sent back at all - imagine an error when a user is signing up, current_user will be nil, and if there's an error in the sign-up flow you'll never see it.