Skip to content

Improve erorr handling when cosigner key is missing #142

Description

@cjpatton

I recently deployed a new log for mtc_worker (#141) and forgot to create the corresponding secret (SIGNING_KEY_shard2). This is the error that I got:

POST https://bootstrap-mtca.cloudflareresearch.com/logs/shard2/add-entry - Ok @ 10/23/2025, 1:55:33 PM
POST http://fake_url.com/add_batch - Exception Thrown @ 10/23/2025, 1:55:34 PM
✘ [ERROR]   Error: unreachable

That's not very helpful. Instead of panicking, we should handle this gracefully as a 5xx error.

Activity

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