forked from CGM_Public/pretix_original
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