tracing: trace errors