Fix client error handlers. Remove an old debug error.