Skip to content

BUG: uncatch Error in src/app/admin/states/users/users.coffee #641

@lst97

Description

@lst97

Problem happened in 7.0-dev

line 35:

if response.error.error?
    return alertService.add("danger", "Error: " + response.error.error, 6000)

potential fix, but should fix that in the API response instead.

if response?
    return alertService.add("danger", "Error: " + response, 6000)

response expect an object but string are are used.

uncatch_error

After the fix:
Screenshot 2022-12-08 at 3 23 50 pm

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions