Skip to content

Commit

Permalink
Prevent the conversion-process from failing silently
Browse files Browse the repository at this point in the history
This commit fixes #42
  • Loading branch information
manuth committed Sep 26, 2019
1 parent d4176ea commit 02b0d32
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion MarkdownConverter/src/Conversion/Converter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ export class Converter
default:
try
{
let body = await this.Document.Render();
let page = await this.Browser.newPage();

progressReporter.report(
Expand All @@ -313,7 +314,7 @@ export class Converter
{
await request.respond(
{
body: await this.Document.Render()
body
});
}
else
Expand Down

0 comments on commit 02b0d32

Please sign in to comment.