Skip to content

Handling serde_json::from_slice errors #257

@taylor1791

Description

@taylor1791

As far as I can tell, there is no way to handle request bodies that Serde fails to deserialize. In my case, I simply want to log it (and till fail the invocation), but another might want to manually put it in a dead letter queue.

  1. Did I overlook something?
  2. If this a desirable feature and you have an API in mind, I am happy to try and implement it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions