in Sources/XCMetricsBackendLib/UploadMetrics/Jobs/JobLogEventDelegate.swift [57:59]
func error(jobId: String, error: Error, eventLoop: EventLoop) -> EventLoopFuture<Void> {
return repository.update(jobId, status: .failed, error: error, using: eventLoop.next())
}