spiral / roadrunner-bridge

🌉 RoadRunner bridge to Spiral Framework
https://spiral.dev/docs/packages-roadrunner-bridge
MIT License
12 stars 6 forks source link

Adding Exception handling when searching for a handler #96

Closed msmakouz closed 8 months ago

msmakouz commented 8 months ago
Q A
Bugfix? ✔️
Breaks BC?
New feature?

If a job is pushed by some script (not using our packages), it will have a default name set to deduced_by_rr. A handler for this name may not be configured. For example, it could be selected based on a Kafka topic in an interceptor. In such a case, the application should not throw an exception during the payload deserialization stage.

Related to: https://github.com/orgs/roadrunner-server/discussions/1802

codecov[bot] commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (feb0aab) 93.46% compared to head (7ceba49) 93.46%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## 3.x #96 +/- ## ========================================= Coverage 93.46% 93.46% - Complexity 356 357 +1 ========================================= Files 64 64 Lines 1240 1240 ========================================= Hits 1159 1159 Misses 81 81 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.