Better error messages
This commit is contained in:
parent
e94ec429cf
commit
277221c793
|
@ -94,7 +94,7 @@ public class CachedResource<K, R> implements Resource<R> {
|
||||||
|
|
||||||
return parse.transform(data);
|
return parse.transform(data);
|
||||||
} catch (IOException e) {
|
} 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
|
// use previously cached data if possible
|
||||||
if (element == null || element.getObjectValue() == null) {
|
if (element == null || element.getObjectValue() == null) {
|
||||||
|
|
Loading…
Reference in New Issue