BE: /logs endpoint, comments resolution, github template

Signed-off-by: jokob-sk <jokob.sk@gmail.com>
This commit is contained in:
jokob-sk
2025-11-10 07:58:21 +11:00
parent 8483a741b4
commit 6d70a8a71d
4 changed files with 27 additions and 13 deletions

View File

@@ -52,7 +52,7 @@ def clean_log(log_file):
except Exception as e:
msg = f"[clean_log] ERROR Failed to purge {log_file}: {e}"
mylog('none', [])
write_notification(msg)
return jsonify({"success": False, "message": msg}), 200
mylog('none', [msg])
write_notification(msg, 'interrupt')
return jsonify({"success": False, "message": msg}), 500