forked from ScoDoc/ScoDoc
add debug infos to two exception
This commit is contained in:
parent
cad927858b
commit
cf92cf4ff7
@ -584,7 +584,7 @@ def notes_add(
|
|||||||
evaluation_id=evaluation_id, etudid=etudid
|
evaluation_id=evaluation_id, etudid=etudid
|
||||||
).first()
|
).first()
|
||||||
raise ScoBugCatcher(
|
raise ScoBugCatcher(
|
||||||
f"dup: existing={existing_note}"
|
f"dup: existing={existing_note} value={value}"
|
||||||
) from exc
|
) from exc
|
||||||
changed = True
|
changed = True
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user