Give the error logger the correct type of argument.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -55,7 +55,7 @@ class DocumentPageOCRContentManager(models.Manager):
|
||||
self.process_document_page(document_page=document_page)
|
||||
except Exception as exception:
|
||||
logger.error(
|
||||
'OCR error for document version: %d; %s', document_version,
|
||||
'OCR error for document version: %d; %s', document_version.pk,
|
||||
exception
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user