Fix error tracebacks.