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] When backend server doesn't connect, it shows unable to parse JSON error #67

Closed
MichaelZhao21 opened this issue Mar 5, 2024 · 2 comments
Assignees
Labels
A: Frontend A task that concerns frontend development bug Something isn't working good first issue Good for newcomers

Comments

@MichaelZhao21
Copy link
Contributor

Expected Behavior

It should just say "network connection issue" or smth of the sort.

Current Behavior

It shows:

image

Describe the Bug

No response

Steps to Reproduce

  1. Start the frontend without the backend
  2. Try to log in or make any API call

What device are you seeing this issue on?

Linux Computer

What browser are you seeing this issue on?

Firefox

Possible Solutions

No response

@MichaelZhao21 MichaelZhao21 added the bug Something isn't working label Mar 5, 2024
@MichaelZhao21
Copy link
Contributor Author

Basically just find where it produces the error message and add try catch around the JSON decoding

@MichaelZhao21 MichaelZhao21 added good first issue Good for newcomers A: Frontend A task that concerns frontend development labels Mar 5, 2024
@vvyn vvyn self-assigned this May 31, 2024
@vvyn vvyn removed their assignment Sep 12, 2024
@MichaelZhao21
Copy link
Contributor Author

Fixed by #152

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A: Frontend A task that concerns frontend development bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants