ffc3923e93
ImageSizeLimitExceeded exception block [1] is unreachable in upload because it is caught at [2] and raised StorageQuotaFull exception from there. The problem here is that we have nested usage of the limiting reader. To make it correct changed the limiting reader to accept exception class as parameter so that we can pass the StorageQuotaFull in case LimitingReader is used for quota check and ImageSizeExceeded exception if it is used for image size cap check. [1] |
||
---|---|---|
.. | ||
__init__.py |