tracing: rename .error to .close