Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

Fix error messages for non-Chrome browsers. #1568

Merged
merged 1 commit into from Jan 24, 2018

Conversation

nchevobbe
Copy link
Contributor

Check if error.stack contains error.message, and if not, append it to the error message
printed to the console.
This should fix error messages in Firefox and Safari.

Check if error.stack contains error.message, and if not, append it to the error message
printed to the console.
This should fix error messages in Firefox and Safari.
@apollo-cla
Copy link

@nchevobbe: Thank you for submitting a pull request! Before we can merge it, you'll need to sign the Meteor Contributor Agreement here: https://contribute.meteor.com/

@nchevobbe
Copy link
Contributor Author

Not sure about this change since I am not familiar with the codebase.
Don't hesitate to tell me what's wrong with this so I can fix it.

@nchevobbe
Copy link
Contributor Author

This fixes #1567

@jbaxleyiii
Copy link
Contributor

@nchevobbe this is fantastic! Thanks so so much!

@jbaxleyiii jbaxleyiii merged commit 76e8b66 into apollographql:master Jan 24, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants