mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Merge branch 'main' into dev
This commit is contained in:
@@ -741,6 +741,7 @@ app.post("/getcharacters", jsonParser, function (request, response) {
|
||||
characters[i] = jsonObject;
|
||||
i++;
|
||||
} catch (error) {
|
||||
console.log(`Could not read character: ${item}`);
|
||||
if (error instanceof SyntaxError) {
|
||||
console.log("String [" + (i) + "] is not valid JSON!");
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user