Skip to content

Commit

Permalink
update error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
abrantesarthur committed Jan 14, 2025
1 parent b424c03 commit 414e84e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/cli-sync-ot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ async function main(): Promise<void> {
} catch (err) {
logger.error(
colors.red(
`An error occurred pulling the resource ${resource} from OneTrust: ${
`An error occurred syncing the resource ${resource} from OneTrust: ${
debug ? err.stack : err.message
}`,
),
Expand All @@ -63,7 +63,9 @@ async function main(): Promise<void> {
// Indicate success
logger.info(
colors.green(
`Successfully synced OneTrust ${resource} to disk at "${file}"!`,
`Successfully synced OneTrust ${resource} to ${
dryRun ? `disk at "${file}"` : 'Transcend'
}!`,
),
);
}
Expand Down

0 comments on commit 414e84e

Please sign in to comment.