📝 better error message if you upload icon

This commit is contained in:
Flam3rboy 2021-08-07 19:42:26 +02:00
parent c260fa1c82
commit e05e4c5995

View File

@ -35,6 +35,6 @@ export async function handleFile(path: string, body?: string): Promise<string |
return id;
} catch (error) {
console.error(error);
throw new HTTPError("Invalid file");
throw new HTTPError("Invalid " + path);
}
}