Open StefanLobbenmeier opened 4 years ago
For example in the case described here https://github.com/evolus/pencil/issues/645, when an image is not valid (wrong file ending) no error is produced but instead it is stuck at loading without any UI hint that an error has occured
Relevant code where Error should be thrown in else: https://github.com/evolus/pencil/blob/3ed2b8a0ba9df6cd1ecb02d965c980567048197b/app/views/tools/StencilGeneratorDialog.js#L270
Suggestion for fix: call callback with all images that have been sucessfully read and error so they can be displayed in the UI.
For example in the case described here https://github.com/evolus/pencil/issues/645, when an image is not valid (wrong file ending) no error is produced but instead it is stuck at loading without any UI hint that an error has occured
Relevant code where Error should be thrown in else: https://github.com/evolus/pencil/blob/3ed2b8a0ba9df6cd1ecb02d965c980567048197b/app/views/tools/StencilGeneratorDialog.js#L270