mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
fix(bot): try fixing unhandled exceptions from interactive prompts
This commit is contained in:
parent
d997f725e2
commit
c639d877f8
2 changed files with 17 additions and 5 deletions
|
|
@ -29,7 +29,7 @@ public class HandlerQueue<T>
|
|||
{
|
||||
var theTask = await Task.WhenAny(timeoutTask, tcs.Task);
|
||||
if (theTask == timeoutTask)
|
||||
throw new TimeoutException();
|
||||
throw new TimeoutException("HandlerQueue#WaitFor timed out");
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue