Skip to content

Commit bc6dfa6

Browse files
SlimaneAmarSlimane AMAR
andauthored
Change the exception message when a node is blocked (#811)
Co-authored-by: Slimane AMAR <[email protected]>
1 parent 4195544 commit bc6dfa6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/gridsuite/study/server/service/RootNetworkNodeInfoService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ public void assertNetworkNodeIsNotBuilding(UUID rootNetworkUuid, UUID nodeUuid)
400400

401401
public void assertNoBlockedBuild(UUID rootNetworkUuid, List<UUID> nodesUuids) {
402402
if (rootNetworkNodeInfoRepository.existsByNodeUuidsAndBlockedBuild(rootNetworkUuid, nodesUuids)) {
403-
throw new StudyException(NOT_ALLOWED, "There is already a network modification in progress in this branch !");
403+
throw new StudyException(NOT_ALLOWED, "Another action is in progress in this branch !");
404404
}
405405
}
406406

0 commit comments

Comments
 (0)