Add logging to mark instances where getting the page count of a file may fails because it is not an office format file.
This commit is contained in:
@@ -201,7 +201,7 @@ class ConverterBase(object):
|
||||
try:
|
||||
self.soffice_file = self.to_pdf()
|
||||
except InvalidOfficeFormat:
|
||||
pass
|
||||
logger.debug('Is not an office format document; %s', exception)
|
||||
|
||||
|
||||
class BaseTransformation(object):
|
||||
|
||||
Reference in New Issue
Block a user