Skip to content
Snippets Groups Projects
Commit 7d39011a authored by Zdravko Iliev's avatar Zdravko Iliev
Browse files

add build

parent bb95c5e3
No related branches found
No related tags found
No related merge requests found
......@@ -80,7 +80,12 @@ class PDFparser {
lib = pdflib.PDFNet;
}
//will this work ??
yield lib.initialize(licenseKey);
try {
yield lib.initialize(licenseKey);
}
catch (e) {
console.log(e);
}
try {
buf = yield (0, utils_1.TimestampAndEnableLTV)(this.document, certPath, certTSAUrl, imgBytes, coords, lib);
}
......
......@@ -77,7 +77,12 @@ class PDFparser {
}
//will this work ??
await lib.initialize(licenseKey);
try {
await lib.initialize(licenseKey);
} catch (e) {
console.log(e);
}
try {
buf = await TimestampAndEnableLTV(
this.document,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment