Better error messages

This commit is contained in:
Reinhard Pointner 2016-06-07 06:11:38 +08:00
parent e94ec429cf
commit 277221c793
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ public class CachedResource<K, R> implements Resource<R> {
return parse.transform(data);
} catch (IOException e) {
debug.warning(format("Fetch failed: %s", e.getMessage()));
debug.warning(format("Fetch failed: %s [%s]", e, url));
// use previously cached data if possible
if (element == null || element.getObjectValue() == null) {