If a file cannot be thumbnailed for some reason (e.g. the file is empty), then catch the exception and convert it to a reasonable error message for the client. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_base.py | ||
| test_media_storage.py | ||
| test_url_preview.py | ||
If a file cannot be thumbnailed for some reason (e.g. the file is empty), then catch the exception and convert it to a reasonable error message for the client. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_base.py | ||
| test_media_storage.py | ||
| test_url_preview.py | ||