add debug infos to two exception

This commit is contained in:
Emmanuel Viennet 2023-05-30 22:23:19 +02:00 committed by iziram
parent cad927858b
commit cf92cf4ff7

View File

@ -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: