Makes the PDF metadata log more specific
This commit is contained in:
parent
7448a150d3
commit
b9e33ab9f5
@ -63,7 +63,7 @@ class RasterisedDocumentParser(DocumentParser):
|
|||||||
namespace.encode("utf-8")
|
namespace.encode("utf-8")
|
||||||
key_value.encode("utf-8")
|
key_value.encode("utf-8")
|
||||||
except UnicodeEncodeError as e: # pragma: no cover
|
except UnicodeEncodeError as e: # pragma: no cover
|
||||||
self.log.debug(f"Skipping header {key}: {e}")
|
self.log.debug(f"Skipping metadata key {key}: {e}")
|
||||||
continue
|
continue
|
||||||
result.append(
|
result.append(
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user