This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user