From 0737d61743da245c6fb45f6b6719f68b7f294898 Mon Sep 17 00:00:00 2001 From: Sergey Linev Date: Tue, 24 Sep 2024 16:03:55 +0200 Subject: [PATCH] Add debug --- modules/base/FontHandler.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/base/FontHandler.mjs b/modules/base/FontHandler.mjs index c480a61d2..4bc7b7da0 100644 --- a/modules/base/FontHandler.mjs +++ b/modules/base/FontHandler.mjs @@ -238,7 +238,7 @@ async function loadFontFile(fname) { return fs.readFileSync(path).toString('base64'); }) : httpRequest(path, 'bin').then(buf => btoa_func(buf)); - return pr.catch(() => tryNext()); + return pr.catch(() => { console.log('fail loading', path); return tryNext(); }); } return tryNext();