593
594
if e.isUnexpectedNonRetryableError(err) {
595
>
// Terminal errors are likely due to data corruption.
executable.go
596
>
// Drop the task by returning nil so that task will be marked as completed,
597
>
// or send it to the DLQ if that is enabled.
598
>
metrics.TaskCorruptionCounter.With(e.chasmMetricsHandler).Record(1)
599
>
if e.dlqEnabled() {
600
// Keep this message in sync with the log line mentioned in Investigation section of docs/admin/dlq.md
601
e.logger.Error("Marking task as terminally failed, will send to DLQ", tag.Error(err), tag.ErrorType(err))