Skip to content

Commit

Permalink
Add debug
Browse files Browse the repository at this point in the history
  • Loading branch information
linev committed Sep 24, 2024
1 parent 9aeef93 commit 0737d61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/base/FontHandler.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 0737d61

Please sign in to comment.