squbs
squbs copied to clipboard
Exception Mappers for Akka Http app flow
Please see Akara's comment in this PR https://github.com/paypal/squbs/pull/303:
Just roughly:
Request ~> Pipeline ~> AppFlow ~> Pipeline ~> Response
If AppFlow causes the stream to totally collapse due to a thrown exception, I'd like to catch it in the pipeline and perhaps send a more meaningful response than just a blank 500 that is the case today.