Attempting to queue while in a match throws an exception. #4
Labels
No Label
Bug
Enhancement
Won't Fix
Won't Implement
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Reference: LogalDeveloper/Snowbrawl#4
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
If a match participant runs
/sb
, they receive an internal error message and a stacktrace is printed to console.The root cause is the
join_queue
command handler neglects to check if the player is in a match.Luckily, nothing actually breaks. A lower level check is performed by the MatchManager which prevents the player from actually joining the queue.
The fix is to add another check to the command handler for whether the player is in a match, and if so, print a more useful error message.