From 414e84e8530ff9767128037784fc7af97cb7e02e Mon Sep 17 00:00:00 2001 From: Arthur Date: Tue, 14 Jan 2025 04:21:32 +0000 Subject: [PATCH] update error messages --- src/cli-sync-ot.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/cli-sync-ot.ts b/src/cli-sync-ot.ts index 751981ac..e7981ccd 100644 --- a/src/cli-sync-ot.ts +++ b/src/cli-sync-ot.ts @@ -52,7 +52,7 @@ async function main(): Promise { } 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 }`, ), @@ -63,7 +63,9 @@ async function main(): Promise { // Indicate success logger.info( colors.green( - `Successfully synced OneTrust ${resource} to disk at "${file}"!`, + `Successfully synced OneTrust ${resource} to ${ + dryRun ? `disk at "${file}"` : 'Transcend' + }!`, ), ); }