mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Add messages to all InvalidOperationException
s
Without this, they can be very non-descript and hard to track down
This commit is contained in:
@ -134,7 +134,7 @@ namespace osu.Game.Tests.Visual.Spectator
|
||||
FrameSendAttempts++;
|
||||
|
||||
if (ShouldFailSendingFrames)
|
||||
return Task.FromException(new InvalidOperationException());
|
||||
return Task.FromException(new InvalidOperationException($"Intentional fail via {ShouldFailSendingFrames}"));
|
||||
|
||||
return ((ISpectatorClient)this).UserSentFrames(api.LocalUser.Value.Id, bundle);
|
||||
}
|
||||
|
Reference in New Issue
Block a user