How To Avoid Messy Error Handling In Tornado Requesthandler