From 81f5d1b179ba398a3938a660b94792456b690f93 Mon Sep 17 00:00:00 2001 From: PascalRepond Date: Wed, 20 Nov 2024 10:33:02 +0100 Subject: [PATCH] fix(inventory list): serialization error message Co-Authored-by: Pascal Repond --- rero_ils/modules/items/serializers/collector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rero_ils/modules/items/serializers/collector.py b/rero_ils/modules/items/serializers/collector.py index da9915b705..50877011aa 100644 --- a/rero_ils/modules/items/serializers/collector.py +++ b/rero_ils/modules/items/serializers/collector.py @@ -283,7 +283,7 @@ def append_document_data(csv_data, documents): except Exception as err: current_app.logger.error( "ERROR in csv serializer: " - f'{message} on document: {csv_data.get("document_pid")}' + f'{err} on document: {csv_data.get("document_pid")}' ) @classmethod