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:
Roberto Rosario
2015-08-23 22:47:33 -04:00
parent 1d7f447dad
commit d1bb06f350

View File

@@ -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):