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

fixes errMsg.match is not a function error #492

Merged
merged 1 commit into from
Nov 4, 2017
Merged

Conversation

gofreddo
Copy link
Contributor

@gofreddo gofreddo commented Nov 4, 2017

I'm getting errMsg.match is not a function error from https://cdnjs.cloudflare.com/ajax/libs/rollbar.js/2.3.1/rollbar.min.js

@rokob
Copy link
Contributor

rokob commented Nov 4, 2017

Yeah this is a reasonable thing to check, I'd like to understand how we end up with an error with a message that does not have the String prototype. Unless someone throws an error that specifically sets message to null, because by default Error has the empty string as the message. But this is a good change, if we end up in that situation we shouldn't crash.

@rokob rokob merged commit f805eb5 into rollbar:master Nov 4, 2017
@gofreddo
Copy link
Contributor Author

gofreddo commented Nov 5, 2017

Yeah I haven't been able to catch it. Some library I'm using is obviously not throwing a well formed error.

mudetroit pushed a commit that referenced this pull request Mar 14, 2024
fixes errMsg.match is not a function error
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.

2 participants