Skip to content

Show error page for apps that fail to boot #1

Open

Description

@dbackeus

Pow used to have this once upon a time but puma-dev never implemented it: puma/puma-dev#124

What POW error pages looked like:
Image

The main purpose is to help the developer fix whatever is preventing the app to boot, so inclusion of the error log is key.

Activity

  1. tcannonfodder commented on Jan 25, 2026

    @tcannonfodder
    Contributor

    @dbackeus I'm wondering if Caddy's handle_errors would be helpful here. https://caddyserver.com/docs/caddyfile/directives/handle_errors

    It's important to note that caddy-dev doesn't do any process management or auto-booting apps (since it's just sending everything over to Caddy). So, really, the things to handle are:

    • When the request goes through the Caddyfile and doesn't end up in an expected place (the unknown app error)
    • When there's an error within Caddy itself, which is hopefully where handle_errors comes in
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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