Skip to content

How to use Middleware to catch exceptions, instead of Kelp? #94

@rawleyfowler

Description

@rawleyfowler

I have a large existing Plack monolith that uses Plack::Builder to compose and mount a variety of Plack applications. We have an existing Middleware that translates exceptions into HTTP codes, logs, them and adds them to a tracing platform.

We have a new small Plack application that is working as a POC for using Kelp, that is being mounted, and we'd like to have our existing Plack exception handler (a Plack middleware), handle exceptions thrown during the runtime of our new Kelp application, is this possible? If not would this feature be wanted? Thanks.

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