Handle exceptions in responder