forked from ScoDoc/ScoDoc
More debug info (save_note : mystère)
This commit is contained in:
parent
cf92cf4ff7
commit
b7e6783ae7
@ -583,8 +583,12 @@ def notes_add(
|
||||
existing_note = NotesNotes.query.filter_by(
|
||||
evaluation_id=evaluation_id, etudid=etudid
|
||||
).first()
|
||||
sco_cache.EvaluationCache.delete(evaluation_id)
|
||||
notes_db = sco_evaluation_db.do_evaluation_get_all_notes(
|
||||
evaluation_id
|
||||
)
|
||||
raise ScoBugCatcher(
|
||||
f"dup: existing={existing_note} value={value}"
|
||||
f"dup: existing={existing_note} etudid={repr(etudid)} value={value} in_db={etudid in notes_db}"
|
||||
) from exc
|
||||
changed = True
|
||||
else:
|
||||
|
@ -1,7 +1,7 @@
|
||||
# -*- mode: python -*-
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
SCOVERSION = "9.4.78"
|
||||
SCOVERSION = "9.4.79"
|
||||
|
||||
SCONAME = "ScoDoc"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user