Skip to content

Error Persistence #6

Description

@kennyctran

Reviews-API/src/app.js

Lines 186 to 188 in b7769c4

} catch(err) {
res.statusCode = 404;
res.send(err);

In production, you're not always keeping an eye on errors being thrown. I would recommend looking into ways to store or persist errors in logs.

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