diff --git a/src/Utils/auth-utils.ts b/src/Utils/auth-utils.ts index 155ced79..204e16be 100644 --- a/src/Utils/auth-utils.ts +++ b/src/Utils/auth-utils.ts @@ -320,7 +320,7 @@ export const addTransactionCapability = ( // CRITICAL: Check destroyed flag INSIDE mutex to prevent race condition // This ensures atomic check-and-execute: if we acquire mutex, resources exist if (destroyed) { - throw new Error('Transaction capability destroyed - socket closed') + throw new Error('Transaction capability destroyed - cannot initiate new transactions') } const ctx: TransactionContext = {