Skip to content

Error handling refactoring  #5

@samthemogul

Description

@samthemogul

In most business logic in the user controller, the errors are thrown in the catch black instead of handled properly in the try block.

Refactoring to handle errors in the try block and pass then into next to be managed by the application error handling middleware.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions