Stop spamming the console with 404s

This commit is contained in:
somebody
2022-11-12 16:51:22 -06:00
parent ad7fa36c2f
commit d54c7891ed
2 changed files with 3 additions and 2 deletions

View File

@@ -8803,7 +8803,7 @@ def UI_2_get_wi_image(uid):
try:
return koboldai_vars.worldinfo_v2.image_store[str(uid)]
except KeyError:
return ":( Couldn't find image", 404
return ":( Couldn't find image", 204
@socketio.on("scratchpad_prompt")
@logger.catch