This commit is contained in:
2021-12-24 15:12:48 +00:00
parent 7a9d69ecf9
commit 2385a50372

View File

@@ -786,7 +786,12 @@ namespace AyaNova.Biz
{
throw;
}
catch
catch(PuppeteerSharp.TargetClosedException){
//we closed it because the timeout hit and the CoreJobReportRenderEngineProcessCleanup job cleaned it out
//so return the error the client expects in this scenario
throw new ReportRenderTimeOutException();
}
catch (Exception ex)
{
//This is the error when a helper is used on the template but doesn't exist:
//Evaluation failed: d
@@ -796,6 +801,7 @@ namespace AyaNova.Biz
log.LogInformation($"Exception caught while rendering report \"{report.Name}\", report Page console log:");
log.LogInformation(PageLog.ToString());
}
log.LogInformation(ex, "Error during report render:");
// var v=await page.GetContentAsync();//for debugging purposes
throw;