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