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