Fixed trace when exception is None