diff --git a/backend/src/yeomanui.ts b/backend/src/yeomanui.ts index a3037e89..6bb7bf15 100644 --- a/backend/src/yeomanui.ts +++ b/backend/src/yeomanui.ts @@ -198,7 +198,7 @@ export class YeomanUI { } catch (error) { const questionInfo = `Could not update method '${methodName}' in '${questionName}' question in generator '${this.gen.options.namespace}'`; const errorMessage = await this.logError(error, questionInfo); - return Promise.reject(errorMessage); + this.onGeneratorFailure(this.generatorName, errorMessage); } }