output image path when unable to load file
authortupshin <tupshin@tupshin.com>
Tue, 9 Mar 2004 23:07:40 +0000 (23:07 +0000)
committertupshin <tupshin@tupshin.com>
Tue, 9 Mar 2004 23:07:40 +0000 (23:07 +0000)
darcs-hash:20040309230740-a9258-be301ef55246a7400380c0ce86559bde87cd31ce.gz

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();