Enhance debugging and logging in settings and toast rendering; add JSON parsing output and improve toast container handling
This commit is contained in:
parent
398800b681
commit
6a0dd75f10
3 changed files with 19 additions and 4 deletions
|
@ -442,6 +442,9 @@ def settings():
|
|||
|
||||
try:
|
||||
state = json.loads(form['formState'])
|
||||
import pprint
|
||||
print("🧠 Parsed state:")
|
||||
pprint.pprint(state, indent=2, width=120)
|
||||
except Exception:
|
||||
flash("Invalid form state submitted. JSON decode failed.", "danger")
|
||||
traceback.print_exc()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue