Skip to content

Commit

Permalink
log
Browse files Browse the repository at this point in the history
  • Loading branch information
spolu committed Oct 25, 2024
1 parent 32be1ae commit 31b7b52
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,15 @@ async function scrubDocument({
});

if (sRes.isErr()) {
logger.error(
{
documentId,
dataSourceProject: project,
dataSourceId: dataSourceId,
error: sRes.error,
},
"Failed to scrub versions"
);
throw new Error(`Failed to scrub versions: ${sRes.error}`);
}

Expand Down

0 comments on commit 31b7b52

Please sign in to comment.