cagpie / node-canvas-with-twemoji

Draw text with Twemoji on node-canvas
MIT License
33 stars 12 forks source link

can't get emoji from url #11

Closed huancnttuet closed 2 years ago

huancnttuet commented 2 years ago

I think you should set a try catch and reject function as follows:

image

I got an error like this when an emoji failed to load UnhandledPromiseRejectionWarning: Error: ENOENT, No such file or directory ''