spire-io/shred — Issue #3: Introduce a request error event type
Author: dyoder
Created: 2011-12-06 04:21:05+00:00
State: open

We don't emit an event presently for the case where the request errors out before generating a response. On the one hand, we don't want error handlers to have to check for a null value for the response. On the other hand, we should generate a catchable event here, with the idea that this would never be an expected result. So right now we simply log the error. Other options would be to raise an exception or generate a different kind of event.