From e814004e62e10288372f0765c6010e0e3fd0ab80 Mon Sep 17 00:00:00 2001 From: Stanislas Polu Date: Sat, 13 Jan 2024 11:45:25 +0100 Subject: [PATCH] connector: add elapsed log to failed upserts (#3194) --- connectors/src/lib/data_sources.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/connectors/src/lib/data_sources.ts b/connectors/src/lib/data_sources.ts index 4d1c45028ae3..67f0686cb3e9 100644 --- a/connectors/src/lib/data_sources.ts +++ b/connectors/src/lib/data_sources.ts @@ -131,6 +131,7 @@ async function _upsertToDatasource({ localLogger.error( { status: dustRequestResult.status, + elapsed, }, "Error uploading document to Dust." );