TechDocs: Show error from Docker container when build fails

Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
This commit is contained in:
Himanshu Mishra
2021-03-01 17:59:05 +01:00
parent d7245b7332
commit d78769fa26
@@ -115,7 +115,7 @@ export class TechdocsGenerator implements GeneratorBase {
this.logger.debug(
`Failed to generate docs from ${inputDir} into ${outputDir}`,
);
this.logger.debug(`Build failed with error: ${log}`);
this.logger.error(`Build failed with error: ${log}`);
throw new Error(
`Failed to generate docs from ${inputDir} into ${outputDir} with error ${error.message}`,
);