Thumbnails for images and videos #87
@ -55,7 +55,7 @@ class FileAdmin(admin.ModelAdmin):
|
||||
return render_to_string('files/admin/thumbnails.html', context)
|
||||
except Exception:
|
||||
# Make sure any exception happening here is always logged
|
||||
# (e.g. admin eats exception in ModelAdmin properties, making it hard to debug)
|
||||
# (e.g. admin eats exceptions in ModelAdmin properties, making it hard to debug)
|
||||
logger.exception('Failed to render thumbnails')
|
||||
raise
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user