diff --git a/ironfish-cli/src/command.ts b/ironfish-cli/src/command.ts index 95962cea4b..24fc6fb837 100644 --- a/ironfish-cli/src/command.ts +++ b/ironfish-cli/src/command.ts @@ -74,6 +74,10 @@ export abstract class IronfishCommand extends Command { } catch (error: unknown) { if (hasUserResponseError(error)) { this.log(error.codeMessage) + + if (error.codeStack) { + this.sdk.logger.debug(error.codeStack) + } } else if (error instanceof ExitError) { throw error } else if (error instanceof CLIError) {