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

[BUG] Error reports in /canvas result in JS error and a white screen #2228

Closed
automaton82 opened this issue Apr 22, 2024 · 1 comment
Closed

Comments

@automaton82
Copy link
Contributor

Describe the bug
If you open the /canvas and have a chatflow API error, you'll get a JS error in the console and a white screen.

Error: Uncaught ReferenceError: error is not defined

To Reproduce
Steps to reproduce the behavior:

  1. Open any existing chatflow
  2. Change the URL and modify the ID in the query string, change 1 letter so it's invalid
  3. Press enter to load it

Notice Uncaught ReferenceError: error is not defined in the dev console and a white screen

Expected behavior
This should show the regular red notification with the error text

Setup

  • It will happen anywhere

Additional context
I will submit a PR to fix, it's a typo.

@automaton82
Copy link
Contributor Author

I believe this will be fixed by #2229

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