📝 better error message if you upload icon
This commit is contained in:
parent
c260fa1c82
commit
e05e4c5995
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user