Log warning when thumbnailing fails

This commit is contained in:
miruka 2019-10-30 05:36:54 -04:00
parent 48bcc91582
commit adeec71fac

View File

@ -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)