There was an error while loading. Please reload this page.
1 parent 09c9552 commit ceed353Copy full SHA for ceed353
exifread/__init__.py
@@ -118,7 +118,13 @@ def process_file(
118
# (Some apps use MakerNote tags but do not use a format for which we
119
# have a description, do not process these).
120
if details and "EXIF MakerNote" in hdr.tags and "Image Make" in hdr.tags:
121
- hdr.decode_maker_note()
+ try:
122
+ hdr.decode_maker_note()
123
+ except ValueError as e:
124
+ if not strict:
125
+ logger.debug("Failed to decode EXIF MakerNote")
126
+ else:
127
+ raise e
128
129
# extract thumbnails
130
if thumb_ifd and extract_thumbnail:
0 commit comments