From 755f20c5c4e83fb6090d0d5d89a78e89f969f1a3 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Wed, 26 Jun 2019 14:20:00 -0400 Subject: [PATCH] Fix importer logging Signed-off-by: Roberto Rosario --- mayan/apps/importer/tasks.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mayan/apps/importer/tasks.py b/mayan/apps/importer/tasks.py index b89bb7a93e..f6c2b609e6 100644 --- a/mayan/apps/importer/tasks.py +++ b/mayan/apps/importer/tasks.py @@ -35,7 +35,8 @@ def task_upload_new_document(self, document_type_id, shared_uploaded_file_id, ex except OperationalError as exception: logger.warning( 'Operational error during attempt to retrieve shared data for ' - 'new document of type: %s; %s. Retrying.', document_type, exception + 'new document of type ID: %d; %s. Retrying.', document_type_id, + exception ) raise self.retry(exc=exception)