Skip to content

Commit

Permalink
connector: add elapsed log to failed upserts (#3194)
Browse files Browse the repository at this point in the history
  • Loading branch information
spolu authored Jan 13, 2024
1 parent 7baa221 commit e814004
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions connectors/src/lib/data_sources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ async function _upsertToDatasource({
localLogger.error(
{
status: dustRequestResult.status,
elapsed,
},
"Error uploading document to Dust."
);
Expand Down

0 comments on commit e814004

Please sign in to comment.