mirror of
https://github.com/pretix/pretix.git
synced 2026-05-07 15:34:02 +00:00
Fix crash trying to thumbnail invalid image
This commit is contained in:
@@ -38,5 +38,5 @@ def thumb(source, arg):
|
||||
try:
|
||||
return get_thumbnail(source, arg).thumb.url
|
||||
except:
|
||||
logger.exception('Failed to create thumbnail')
|
||||
logger.exception(f'Failed to create thumbnail of {source}')
|
||||
return default_storage.url(source)
|
||||
|
||||
Reference in New Issue
Block a user