synapse/changelog.d/8236.bugfix
Patrick Cloke b312769c0e
Do not error when thumbnailing invalid files (#8236)
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.
2020-09-09 12:59:41 -04:00

2 lines
107 B
Plaintext

Fix a longstanding bug where files that could not be thumbnailed would result in an Internal Server Error.