From ed5ecb30c2d2897d999dfe88f7b41c5535286836 Mon Sep 17 00:00:00 2001 From: Stanislav Lvovsky Date: Fri, 1 May 2020 18:38:00 +0300 Subject: [PATCH] finish wizard on question error (#247) --- backend/src/yeomanui.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }