mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
feat: improved error messages
This commit is contained in:
1 parent
890a4d142b
commit
4c746cbb86
6 files changed
+32
-25
No files matched your search
@@ -337,11 +337,8 @@ export const ratingsCommand = new Promise<CommandRegistryRaw>(
|
||||
|
||||
if (playerIndex === -1) {
|
||||
throw new UserError(
|
||||
`${accountInfo.nickname} didn't player ratings in season ${season}`,
|
||||
{
|
||||
cause:
|
||||
'This player did not participate in this season or did not get past calibration.',
|
||||
},
|
||||
`${accountInfo.nickname} didn't play ratings in season ${season}`,
|
||||
'This player did not participate in this season or did not get past calibration.',
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user