Add extra info to log to hopefully narrow it down

This seems to show up super rarely but there's not enough
context. At-least log the conflicting window so that maybe
we can narrow down root cause?

Bug: 271359304
Test: N/A, just adding to log
Change-Id: I5f1a7e11798ce78fad60a8d96f20454224ead4c3
This commit is contained in:
Evan Rosky
2023-04-24 16:07:09 -07:00
parent e324ae0082
commit a553e5f52d

View File

@@ -3839,7 +3839,8 @@ class WindowContainer<E extends WindowContainer> extends ConfigurationContainer<
// This can still happen if WMCore starts a new transition when there is ongoing
// sync transaction from Shell. Please file a bug if it happens.
throw new IllegalStateException("Can't sync on 2 groups simultaneously"
+ " currentSyncId=" + mSyncGroup.mSyncId + " newSyncId=" + group.mSyncId);
+ " currentSyncId=" + mSyncGroup.mSyncId + " newSyncId=" + group.mSyncId
+ " wc=" + this);
}
mSyncGroup = group;
}