fix issue: log and snapshot of error display nothing