New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds current user information to notifier.js #524

Merged
merged 1 commit into from Jul 29, 2013

Conversation

Projects
None yet
2 participants
@roryf
Contributor

roryf commented Jul 25, 2013

This adds the current-user part of the Airbrake notification API v2.4.

To configure, add this to your Airbrake configuration:

Airbrake.setCurrentUser({
  id: '1',
  name: 'some one',
  email: 'user@example.org'
});

An alternative would be to look for a current_user variable on the global window object, but this seemed more in keeping with the rest of the config implementation.

@roryf roryf referenced this pull request Jul 26, 2013

Closed

Custom parameters? #22

@shingara

This comment has been minimized.

Show comment
Hide comment
@shingara

shingara Jul 29, 2013

Member

Thanks :)

Member

shingara commented Jul 29, 2013

Thanks :)

shingara added a commit that referenced this pull request Jul 29, 2013

Merge pull request #524 from roryf/master
Adds current user information to notifier.js

@shingara shingara merged commit 1a5ac73 into errbit:master Jul 29, 2013

1 check failed

default The Travis CI build could not complete due to an error
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment