From 8b1efe7e45073dbcbc53388daf269cc9f9a7e8e7 Mon Sep 17 00:00:00 2001 From: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Mon, 1 Sep 2025 11:28:10 -0500 Subject: [PATCH] Sim: Verbosely debug validator effectType mismatches --- sim/team-validator.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sim/team-validator.ts b/sim/team-validator.ts index a48f0b4830..7dc9c6a3b8 100644 --- a/sim/team-validator.ts +++ b/sim/team-validator.ts @@ -325,7 +325,7 @@ export class TeamValidator { constructor(format: string | Format, dex = Dex) { this.format = dex.formats.get(format); if (this.format.effectType !== 'Format') { - throw new Error(`format should be a 'Format', but was a '${this.format.effectType}'`); + throw new Error(`format '${format}' should be a 'Format', but was a '${this.format.effectType}'`); } this.dex = dex.forFormat(this.format); this.gen = this.dex.gen;