diff --git a/src/validation.ts b/src/validation.ts index 9181dc0..8a37bff 100644 --- a/src/validation.ts +++ b/src/validation.ts @@ -8,7 +8,7 @@ export function validatePublisher(publisher: string): void { } if (!nameRegex.test(publisher)) { - throw new Error(`Invalid publisher '${publisher}'`); + throw new Error(`Invalid publisher name '${publisher}'. Expected the identifier of a publisher, not its human-friendly name.`); } }