Skip to content

Clean up error handling for frontend #115

Description

@wstrm

The error handling is horrible right now.

The backend sometimes just returns the internal error to the frontend.

I'm not sure how, but we should try to make it more DRY - maybe just let the handler return a error and have some kind of wrapper that takes care of logging and returning a cleaned up error to the front end?

I'd also like to use my own library, github.com/willeponken/causerr, just because 🙄

... Ummm, we should probably wait with this though until we got most logic working 😭

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions