mirror of
https://github.com/SonarSource/sonarqube.git
synced 2024-08-07 15:05:55 +02:00
Fail fast on cache write error
This commit is contained in:
parent
f1025acb71
commit
3fb22d775c
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user