Catch Catalyst application errors and emit them somewhere