try {
in = r.getInputStream();
} catch (IOException e) {
- e.printStackTrace();
- Log.log(Picture.class, e);
-
in = null;
if (r instanceof Res.Ref) {
// add extensions to the resource, looking for the image
}
// could not find image
- if (in == null) { Log.log(Picture.class, "couldn't load image for resource " + r); return; }
+ if (in == null) { Log.info(Picture.class, "couldn't load image for resource " + r); return; }
try {
PushbackInputStream pbis = new PushbackInputStream(in);
p.isLoaded = true;
Scheduler.add(callback);
} catch (Exception e) {
- Log.log(this, "exception while loading image");
- Log.log(this, e);
+ Log.info(this, "exception while loading image");
+ Log.info(this, e);
}
} }.start();