output image path when unable to load file
[org.ibex.core.git] / src / org / ibex / Picture.java
index afde3bb..d1abf61 100644 (file)
@@ -43,7 +43,7 @@ public class Picture {
                 } catch (IOException e) { Log.error(Picture.class, e);
                 } catch (JSExn e) { Log.error(Picture.class, e);
                 }
-                if (in == null) { Log.warn(Picture.class, "couldn't load image for stream " + stream); return; }
+                if (in == null) { Log.warn(Picture.class, "couldn't load image for stream " + stream.unclone()); return; }
                 try {
                     PushbackInputStream pbis = new PushbackInputStream(in);
                     int firstByte = pbis.read();