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

Error messages #153

Closed
sidneylopes opened this issue Oct 28, 2020 · 9 comments
Closed

Error messages #153

sidneylopes opened this issue Oct 28, 2020 · 9 comments
Assignees
Labels
enhancement New feature or request

Comments

@sidneylopes
Copy link
Contributor

Every time that my code tries to print an error message, I get an error, and the message is shown in the console instead. How can a print it so the user can see it?

Screenshot from 2020-10-28 14-32-53

@sidneylopes sidneylopes added the enhancement New feature or request label Oct 28, 2020
@dimaportenko
Copy link
Owner

hey @sidneylopes. Each time you ask a question like My code doesn't work and you don't share your code I can't really help you because I've never seen your code. Can you please be more respectful of my time and provide your code first.

@sidneylopes
Copy link
Contributor Author

image

@dimaportenko
Copy link
Owner

@sidneylopes I was able to replicate and fix the issue, please check cac6929

@sidneylopes
Copy link
Contributor Author

I tried, but no different results

@dimaportenko
Copy link
Owner

@sidneylopes what exactly did you tried?
I was able to reproduce the issue and the fix is working for me.

@sidneylopes
Copy link
Contributor Author

in the index, I changed "Promise.reject(errorResponse);" to "reject(errorResponse);", but nothing happened. Should I try printing something else?

@dimaportenko
Copy link
Owner

Probably js bundler cache, try to restart it and remove the app from the simulator.

@sidneylopes
Copy link
Contributor Author

It worked, thanks. Sorry about yesterday!

@dimaportenko
Copy link
Owner

no problem, glad you solved it.

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

No branches or pull requests

2 participants