play: Improve error handling
1 files changed, 6 insertions(+), 0 deletions(-) M app.ts
M app.ts => app.ts +6 -0
@@ 185,6 185,12 @@ async function play(clid: string, teamspeakID: string) { case "queue is full": message(clid, "Queue is full."); break; case "cannot queue, match still ongoing": message(clid, "Cannot queue, a match is ongoing."); break; case "no result": message(clid, "You are not registered with this teamspeakID."); break; default: console.error(error); break;