Skip to content

Commit

Permalink
fix(cli): Properly log validation errors in log-error hook
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcGodard authored Jan 9, 2023
1 parent a3fbb8c commit 54c883c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/app/templates/logger.tpl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 54c883c

Please # to comment.