Remove period from a EnvironmentalExecException message.
Closes
@@ -98,7 +98,6 @@ public abstract class AbstractSpawnStrategy implements SandboxedSpawnActionConte
}
SpawnResult spawnResult;
ExecException ex = null;
- try {
try (CacheHandle cacheHandle = cache.lookup(spawn, context)) {
if (cacheHandle.hasResult()) {
spawnResult = Preconditions.checkNotNull(cacheHandle.getResult());
@@ -109,9 +108,8 @@ public abstract class AbstractSpawnStrategy implements SandboxedSpawnActionConte
cacheHandle.store(spawnResult);
}
}
- }
} catch (IOException e) {
- throw new EnvironmentalExecException("Unexpected IO error.", e);
+ throw new EnvironmentalExecException("Unexpected IO error", e);
} catch (SpawnExecException e) {
ex = e;
spawnResult = e.getSpawnResult();
