diff --git a/lib/common/services/hooks-service.ts b/lib/common/services/hooks-service.ts index 8822da5d3a..1362aa9a64 100644 --- a/lib/common/services/hooks-service.ts +++ b/lib/common/services/hooks-service.ts @@ -120,8 +120,8 @@ export class HooksService implements IHooksService { const invalidArguments = this.validateHookArguments(hookEntryPoint); if (invalidArguments.length) { - this.$logger.warn(`${hookName} will NOT be executed because it has invalid arguments - ${invalidArguments.join(", ").grey}.`); - return; + this.$logger.warn(`${hook.fullPath} will NOT be executed because it has invalid arguments - ${invalidArguments.join(", ").grey}.`); + continue; } // HACK for backwards compatibility: