Log warning when thumbnailing fails
This commit is contained in:
parent
48bcc91582
commit
adeec71fac
|
@ -426,6 +426,7 @@ class MatrixClient(nio.AsyncClient):
|
||||||
)
|
)
|
||||||
|
|
||||||
except OSError as err:
|
except OSError as err:
|
||||||
|
log.warning("Error when creating thumbnail: %s", err)
|
||||||
raise UnthumbnailableError(err)
|
raise UnthumbnailableError(err)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user