mirror of
https://github.com/spacebarchat/server.git
synced 2026-04-02 22:05:39 +00:00
📝 better error message if you upload icon
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user