From cf92cf4ff768f6c3c7f6d7d54f2cff468f0ed9f2 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Tue, 30 May 2023 22:23:19 +0200 Subject: [PATCH] add debug infos to two exception --- app/scodoc/sco_saisie_notes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scodoc/sco_saisie_notes.py b/app/scodoc/sco_saisie_notes.py index 889d5fb0..25d6f446 100644 --- a/app/scodoc/sco_saisie_notes.py +++ b/app/scodoc/sco_saisie_notes.py @@ -584,7 +584,7 @@ def notes_add( evaluation_id=evaluation_id, etudid=etudid ).first() raise ScoBugCatcher( - f"dup: existing={existing_note}" + f"dup: existing={existing_note} value={value}" ) from exc changed = True else: