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

Simplify "notify" for error reporting #1342

Open
kyrylo opened this issue Dec 14, 2022 · 0 comments
Open

Simplify "notify" for error reporting #1342

kyrylo opened this issue Dec 14, 2022 · 0 comments
Assignees

Comments

@kyrylo
Copy link
Contributor

kyrylo commented Dec 14, 2022

Error notifications are currently supported via airbrake.notify(obj) and airbrake.notify(error: obj). This is really confusing and makes internal implementation difficult to maintain. I believe we should deprecate airbrake.notify(obj) in favor of airbrake.notify({ error: obj }).

I will spend more time thinking about this. For now, I wrote this down so that I don't forget about it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant