This commit is contained in:
2023-11-07 18:09:45 +00:00
parent d77e5b83d9
commit e86bb56a06
2 changed files with 2 additions and 5 deletions

View File

@@ -16,6 +16,8 @@ Released 2023-XX-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- App, Server: Reporting - the ayT translation key helper function now shows an error directly in the rendered report in place of an incorrect or uncached translation key rather than the report failing entirely with an error message
- App: Improvements to error handling and display if there is an issue when rendering reports
**Added**
- App: Work orders, Quotes and PM's added a new feature to the Customer Contact field to enable the user to select from any existing [Contact](customers.md#contacts-tab) entered for that Customer.

View File

@@ -570,11 +570,6 @@ namespace AyaNova.Biz
//API DOCS http://www.puppeteersharp.com/api/index.html
log.LogDebug($"Launching headless Browser and new page now:");
//bugbug: if browser fails to launch return error to user is not expected format json but text instead as there is no handling here
//this should be wrapped in an outer try block that handles browser failing to launch and returns clean error object JSON formatted
//and explaining server error see server error log with some indicative text like "render engine failed to launch"
//i.e. intentionally without the word browser to not confuse the user
using (var browser = await Puppeteer.LaunchAsync(lo))
using (var page = (await browser.PagesAsync())[0])
{