(state int, err error)
| 820 | } |
| 821 | |
| 822 | func (e *ExtractorOracle) onError(state int, err error) { |
| 823 | e.logger.Error("onError", "err", err, "hasShutdown", e.shutdown) |
| 824 | if e.shutdown { |
| 825 | return |
| 826 | } |
| 827 | common.WriteWaitCh(e.waitCh, &drivers.ExitResult{ |
| 828 | ExitCode: state, |
| 829 | Signal: 0, |
| 830 | OOMKilled: false, |
| 831 | Err: err, |
| 832 | }) |
| 833 | _ = e.Shutdown() |
| 834 | } |
| 835 | |
| 836 | func (e *ExtractorOracle) sendFullComplete() (err error) { |
| 837 | dumpMsg, err := common.Encode(&common.DumpStatResult{ |
no test coverage detected