Fail fast on cache write error

This commit is contained in:
Duarte Meneses 2015-09-03 17:26:40 +02:00
parent f1025acb71
commit 3fb22d775c

View File

@ -111,7 +111,7 @@ public class WSLoader {
try {
cache.put(client.getURI(id).toString(), value);
} catch (IOException e) {
LOG.warn("Error saving to WS cache", e);
throw new IllegalStateException("Error saving to WS cache", e);
}
}