return 'invalid request'response on any uncaught exception