diff --git a/packages/cli/src/commands/base-command.ts b/packages/cli/src/commands/base-command.ts index c5374dc299..afd5a90822 100644 --- a/packages/cli/src/commands/base-command.ts +++ b/packages/cli/src/commands/base-command.ts @@ -240,6 +240,7 @@ export abstract class BaseCommand extends Command { } async finally(error: Error | undefined) { + if (error?.message) this.logger.error(error.message); if (inTest || this.id === 'start') return; if (Db.connectionState.connected) { await sleep(100); // give any in-flight query some time to finish