Catch exceptions in respond.