make imagenotfound report file path
[org.ibex.core.git] / src / org / ibex / Box.java
index 313cefa..e8c3d35 100644 (file)
@@ -177,7 +177,7 @@ public final class Box extends JSScope implements Scheduler.Task {
         // as external events have occured, check the state of box
         if (texture != null) {
             if (texture.isLoaded) { minwidth = min(texture.width, maxwidth); minheight = min(texture.height, maxheight); }
-            else { JS res = texture.stream; texture = null; throw new JSExn("image not found: "+res); }
+            else { JS res = texture.stream; texture = null; throw new JSExn("image not found: "+res.unclone()); }
         } else {
             Log.warn(Box.class, "perform() called with null texture");
         }