fix: Fehlermeldung bei JSON-Load-Fehler verbessert
Co-authored-by: aider (ollama_chat/qwen3-coder:30b) <aider@aider.chat>
This commit is contained in:
parent
68800a49d1
commit
7421f6fdec
1 changed files with 1 additions and 0 deletions
1
app.py
1
app.py
|
|
@ -33,6 +33,7 @@ def load_lessons():
|
|||
lessons = FALLBACK_LESSONS
|
||||
except json.JSONDecodeError as e:
|
||||
print(f"Fehler beim Laden der JSON-Datei: {e}")
|
||||
print(f"Position des Fehlers: Zeile {e.lineno}, Spalte {e.colno}")
|
||||
print("Verwende Fallback-Lektionen")
|
||||
lessons = FALLBACK_LESSONS
|
||||
except Exception as e:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue