diff --git a/sdk/typescript/src/api.ts b/sdk/typescript/src/api.ts index da339350..a15b6ee6 100644 --- a/sdk/typescript/src/api.ts +++ b/sdk/typescript/src/api.ts @@ -1030,7 +1030,7 @@ export class CodexSecurity { "onWarning", options.onWarning, options.onObserverError, - `Could not save scan session: ${redactedErrorMessage(error)}`, + `Could not save scan session: ${safeErrorMessage(error)}`, ); } },