Pre Merge pull request !458 from 渲染/develop

pull/458/MERGE
渲染 2024-02-15 14:37:26 +00:00 committed by Gitee
commit 9639c1a6cf
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 1 deletions

View File

@ -305,7 +305,7 @@ class Upload
$attachment = $this->upload();
} catch (\Exception $e) {
@unlink($destFile);
is_file($uploadPath) && @unlink($uploadPath);
throw new UploadException($e->getMessage());
}
return $attachment;