fix(bot): try fixing unhandled exceptions from interactive prompts

This commit is contained in:
alyssa 2024-10-19 07:30:03 +09:00
parent d997f725e2
commit c639d877f8
2 changed files with 17 additions and 5 deletions

View file

@ -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
{