Update error message

2.0.0-ts
MillenniumEarl 2021-03-17 12:50:03 +01:00
parent d92cd69d24
commit 3b911669fe
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,7 @@ export async function getHandiworkFromURL<T extends IBasic>(url: string): Promis
// Check URL validity // Check URL validity
const exists = await urlExists(url); const exists = await urlExists(url);
if (!exists) throw new URIError(`${url} is not a valid URL`); if (!exists) throw new URIError(`${url} does not exists`);
if (!isF95URL(url)) throw new Error(`${url} is not a valid F95Zone URL`); if (!isF95URL(url)) throw new Error(`${url} is not a valid F95Zone URL`);
// Get game data // Get game data