diff --git a/app/server/lib/AppEndpoint.ts b/app/server/lib/AppEndpoint.ts index 557774ca..a0455882 100644 --- a/app/server/lib/AppEndpoint.ts +++ b/app/server/lib/AppEndpoint.ts @@ -152,6 +152,13 @@ async function getWorker(docWorkerMap: IDocWorkerMap, assignmentId: string, } // This is a 404 with the expected content for a missing worker. } catch (e) { + log.rawDebug(`AppEndpoint.getWorker failure`, { + url: fullUrl, + docId: assignmentId, + status: e.status, + message: String(e), + workerId: docStatus.docWorker.id, + }); // If workers are managed, no errors merit continuing except a 404. // Otherwise, we continue if we see a system error (e.g. ECONNREFUSED). // We don't accept timeouts since there is too much potential to