Right now if a handler has event caching turned on but the status code is 500, the event is still cached.