-
Task
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.10.0
-
None
When the VectorImage fails to load a file, it complains it isn't a valid SVG file. But VectorImage potentially supports e.g. Lottie through a plugin mechanism.
Often this error message will appear because the Lottie plugin is not loaded, for instance if you did not set the assumeTrustedSource property.
If we fail to parse, we could check the extension of the file and assume that it is not an SVG if the extension is different, and then give a more generic error message in that case.