See the previous commit d66b258b0e as well. If enable_upload_debug_mode is true, we do not want to abort the direct S3 upload, because that will delete the file on S3 and prevent further inspection of any errors that have come up.
d66b258b0e
db_id