diff --git a/packages/cli/src/app/templates/logger.tpl.ts b/packages/cli/src/app/templates/logger.tpl.ts index 0a9b226998..c5894f59cd 100644 --- a/packages/cli/src/app/templates/logger.tpl.ts +++ b/packages/cli/src/app/templates/logger.tpl.ts @@ -32,7 +32,7 @@ export const logError = async (context: HookContext, next: NextFunction) => { // Log validation errors if (error.data) { - logger.error(error.data) + logger.error('Data: %O', error.data) } throw error