event-driven-dotnet / EventDriven.EventBus.Dapr

Event bus abstraction over Dapr pub/sub
MIT License
22 stars 5 forks source link

[Feature] Add Support for Retries #35

Closed Denvery closed 11 months ago

Denvery commented 12 months ago

When DAPR subscribers throws exceptions in C# code, the subscriber generates HTTP 404 status code.

Expected behavior: The response from DAPR subscriber has 500 HTTP code when subscriber code throws exception Actual behavior: The response from DAPR subscriber has 404 HTTP code

The converting to 404 is programmed here: https://github.com/event-driven-dotnet/EventDriven.EventBus.Dapr/blob/master/src/EventDriven.EventBus.Dapr/DaprEventBusEndpointRouteBuilderExtensions.cs#L90