Listen to client errors.