The following call to load a file that does not exist always results in the System.import Promise to be fulfilled. But since something bad happened it should be rejected!
If the promise would be rejected, I could try something else or notify the user or whatever. But as it is now I do not even know that it failed at all.
The following call to load a file that does not exist always results in the System.import Promise to be fulfilled. But since something bad happened it should be rejected!
If the promise would be rejected, I could try something else or notify the user or whatever. But as it is now I do not even know that it failed at all.