Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

GUI does not react to API response with error response code #50

@vuapo-eth

Description

@vuapo-eth

Instead, this appears in my browser console (Google Chrome)

:2187/getModules:1 Failed to load resource: the server responded with a status of 401 (Unauthorized)
:2187/getModules:1 Failed to load resource: the server responded with a status of 429 (Too Many Requests)
SyntaxError: Unexpected token A in JSON at position 0 at o (src.472b7051.js:110)

It would be helpful for users to understand problems if these error codes would be handled similar to API errors appearing with status code 200.

For examples, users should be informed that they were given a timeout after trying a wrong password: 5818947

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfeature requestNew feature or requestguiGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions