Fix stacktrace loss.