Skip to content
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

add RavenService#captureBreadcrumb #93

Merged
merged 1 commit into from
Sep 18, 2017
Merged

add RavenService#captureBreadcrumb #93

merged 1 commit into from
Sep 18, 2017

Conversation

marcoow
Copy link
Contributor

@marcoow marcoow commented Sep 13, 2017

This exposes raven's captureBreadcrumb method via the raven service.

@@ -158,6 +158,21 @@ export default Service.extend({
},

/**
* Tries to have Raven capture breadcrumb, or throw it.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

throw it seems wrong here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤦‍♂️ fixed

*
* @method captureBreadcrumb
* @param {Error} error The breadcrumb to capture
* @throws {Error} An error if Raven cannot capture the exception
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@param and @throws are also wrong

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤦‍♂️ fixed

@Turbo87 Turbo87 merged commit 831681d into ember-cli-sentry:master Sep 18, 2017
@Turbo87 Turbo87 deleted the capture-breadcrumb branch September 18, 2017 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants