We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In
me.preloadFonts = function (fonts, next) {
I am unable to handle thrown errors from invalid font names fetched....
The text was updated successfully, but these errors were encountered:
I am stupid - I could do this but still seems like it should be handled with preload too..
try{ const standard = (await import(`https://esm.sh/figlet/importable-fonts/${options.font}.js`)).default figlet.parseFont(options.font, standard); }catch(err){ throw err }
Sorry, something went wrong.
This sounds like bug, if fetch fail to get the font it should call next() with an error.
No branches or pull requests
In
I am unable to handle thrown errors from invalid font names fetched....
The text was updated successfully, but these errors were encountered: