This commit is contained in:
Joao Moreno 2017-04-21 08:42:22 +02:00
parent 0eb30c4baf
commit eb50a1757a

View file

@ -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.`);
}
}