added failure reasons to tracing