Log exception instead of print_exc.

master
voussoir 2021-09-12 21:19:30 -07:00
parent c397071586
commit a0f1b2d86d
No known key found for this signature in database
GPG Key ID: 5F7554F8C26DACCB
1 changed files with 2 additions and 3 deletions

View File

@ -1063,11 +1063,10 @@ class Photo(ObjectBase):
height=self.photodb.config['thumbnail_height'],
**special
)
except Exception:
traceback.print_exc()
else:
if success:
return_filepath = hopeful_filepath
except Exception:
self.photodb.log.warning(traceback.format_exc())
if return_filepath != self.thumbnail:
if return_filepath is None: