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

Use better message when rollbar.log is called with null or missing arguments #756

Merged
merged 1 commit into from
Jul 31, 2019

Conversation

waltjones
Copy link
Contributor

Adds a more meaningful message when a Rollbar message is blank. This typically occurs when an argument is intended to be non-null, but is actually null or missing.

The most odd case is when calling something like Rollbar.error(null) in browser js. The message that shows up in the dashboard is:
{"extraArgs":[null]}

These cases will now use the message 'Item sent with null or missing arguments.', which should be more helpful to both the user and Rollbar customer support.

@waltjones waltjones merged commit 335806c into master Jul 31, 2019
mudetroit pushed a commit that referenced this pull request Mar 14, 2024
Use better message when rollbar.log is called with null or missing arguments
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

Successfully merging this pull request may close these issues.

1 participant