Show placeholder when SVG is edited incorrectly

This commit is contained in:
Anton Tarasov
2018-05-07 19:29:30 +03:00
parent 9838d6a5cf
commit abc458bb0e
@@ -108,6 +108,7 @@ public final class IfsUtil {
SVGLoader.load(url.get(), new ByteArrayInputStream(content), 1.0f);
}
catch (Throwable t) {
file.putUserData(IMAGE_PROVIDER_REF_KEY, null);
LOG.warn(url.get() + " " + t.getMessage());
return false;
}