@medicus.ai/medicus-report-pdf-generator 1.0.248 → 1.0.250

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -366,6 +366,7 @@ let generateSanusXReport = async (data) => {
366
366
  waitUntil: 'networkidle2'
367
367
  }).catch(e => {
368
368
  console.log("ERROR IS File path: " + e.message);
369
+ return e.message
369
370
  });
370
371
 
371
372
  debugLog("page opened!");
@@ -390,7 +391,7 @@ let generateSanusXReport = async (data) => {
390
391
 
391
392
  } catch (e) {
392
393
  debugLog("ERROR!: ", e);
393
- return "";
394
+ return e;
394
395
  }
395
396
  };
396
397
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medicus.ai/medicus-report-pdf-generator",
3
- "version": "1.0.248",
3
+ "version": "1.0.250",
4
4
  "description": "Nasco corporate report - latest update in 5/3/2023 - New design for SanusX PDF",
5
5
  "main": "index.js",
6
6
  "scripts": {