Skip to content

Handling errors missing from readme #4

@apaatsio

Description

@apaatsio

The readme examples use the .use() function.

app.use(logger())

This seems to log only successful requests.

If you want to log errors you should use .pre():

app.pre(logger())

I think this should be clarified in the readme.

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