You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when I .attach() an image bigger than 1MB, the code path reaches the store's put method, that in turn calls copy_stream(), which may raise a MaximumLengthIsReachedError exception.
At that point, the error bubbles up and terminate the request, but the incomplete target file is left in the store. I think that the put() method should intercept the error and remove the incomplete file from the store.
I tried to distill a minimal test case, but failed, sorry.
The text was updated successfully, but these errors were encountered:
In the following scenario
when I
.attach()
an image bigger than 1MB, the code path reaches the store's put method, that in turn calls copy_stream(), which may raise aMaximumLengthIsReachedError
exception.At that point, the error bubbles up and terminate the request, but the incomplete target file is left in the store. I think that the
put()
method should intercept the error and remove the incomplete file from the store.I tried to distill a minimal test case, but failed, sorry.
The text was updated successfully, but these errors were encountered: