You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I'm trying to render canvases in bulk on Node.js using loadFromJSON with public urls as my object sources. Thereafter I flatten them as pngs. I noticed that on flakey connections, images will fail to load silently (well not exactly, Fabric does log 'Error loading ...' to the console). This is an issue for me because I would prefer Fabric to not render the entire canvas at all than render a canvas with missing objects/background.
Describe the solution you'd like
I am able to specify that errors should be bubbled up, either during canvas instantiation or loading.
Describe alternatives you've considered
I considered using the reviver for bubbling errors, but that would mean I'll have to roll my own promisification of the loadFromJSON method (i'm using bluebird promisify right now). I'll probably do that if it doesn't make sense to support this request.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Is your feature request related to a problem? Please describe.
I'm trying to render canvases in bulk on Node.js using
loadFromJSON
with public urls as my object sources. Thereafter I flatten them as pngs. I noticed that on flakey connections, images will fail to load silently (well not exactly, Fabric does log 'Error loading ...' to the console). This is an issue for me because I would prefer Fabric to not render the entire canvas at all than render a canvas with missing objects/background.Describe the solution you'd like
I am able to specify that errors should be bubbled up, either during canvas instantiation or loading.
Describe alternatives you've considered
I considered using the reviver for bubbling errors, but that would mean I'll have to roll my own promisification of the
loadFromJSON
method (i'm using bluebird promisify right now). I'll probably do that if it doesn't make sense to support this request.The text was updated successfully, but these errors were encountered: