Merged PR 1100: added in path to console log to investigate issue

added in path to console log to investigate issue

Related work items: #10561
This commit is contained in:
Robert Bond
2024-03-13 08:53:41 +00:00
+5 -2
View File
@@ -169,12 +169,15 @@ export default async function handler(req, res) {
ReactPDF.render(
<MyDocument docProps={blobProgress} pickListData={pickListData} />,
`tmp/${blobProgress.pinswg_name}.pdf`
process.cwd() + `/tmp/${blobProgress.pinswg_name}.pdf`
);
console.log(
"///////////////////////////////////\nfile created: " +
`tmp/${blobProgress.pinswg_name}.pdf` +
process.cwd() +
`/tmp/${blobProgress.pinswg_name}.pdf` +
"\n folder:" +
process.cwd() +
"\n/////////////////////////"
);