Skip to content

1.4.13

Choose a tag to compare

@release-drafter release-drafter released this 07 May 01:36
28e123c

This release changes the way we throw exceptions in the GetContentFile. It doesn't throw FileNotUploadedError and FileNotDownloadableError errors anymore. Instead ApiRequestError is always raised and GetField("reason"):

if (
    exc.error["code"] != 403
    or exc.GetField("reason") != "fileNotDownloadable"
)