diff --git a/src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnCache.java b/src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnCache.java index 09d821a0108e11..9d168d446736ef 100644 --- a/src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnCache.java +++ b/src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnCache.java @@ -189,7 +189,9 @@ public void store(SpawnResult result) throws ExecException, InterruptedException 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; } }