(from string, err error)
| 67 | } |
| 68 | |
| 69 | func (this *PanicErrorHandler) Fatal(from string, err error) { |
| 70 | if atomic.AddInt32(&this.errorCount, 1) > 1 { |
| 71 | LogWithField("tag", "error_handler").WithError(err).WithField("errfrom", from).Error("multiple fatal errors detected, not reporting again") |
| 72 | return |
| 73 | } |
| 74 | |
| 75 | this.ReportError(from, err) |
| 76 | panic("fatal error detected, see logs for details") |
| 77 | } |
nothing calls this directly
no test coverage detected