Skip to content

Commit

Permalink
finish wizard on question error (#247)
Browse files Browse the repository at this point in the history
  • Loading branch information
slavik-lvovsky authored May 1, 2020
1 parent 3949a54 commit ed5ecb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/yeomanui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand Down

0 comments on commit ed5ecb3

Please sign in to comment.