Improve error message for concurrent modifications
Improve the error message logged when concurrent modifications
occur and --experimental_guard_against_concurrent_changes is set.
Closes
@@ -189,7 +189,11 @@ final class RemoteSpawnCache implements SpawnCache {
try (SilentCloseable c = prof.profile("RemoteCache.checkForConcurrentModifications")) {
checkForConcurrentModifications();
} catch (IOException | ForbiddenActionInputException e) {
- remoteExecutionService.report(Event.warn(e.getMessage()));
+ String msg =
+ "Skipping uploading outputs because of concurrent modifications "
+ + "with --experimental_guard_against_concurrent_changes enabled: "
+ + e.getMessage();
+ remoteExecutionService.report(Event.warn(msg));
return;
}
}
