Skip to content

Commit

Permalink
Fixed incorrect exception usage
Browse files Browse the repository at this point in the history
  • Loading branch information
jaxwilko authored Jan 24, 2024
1 parent d038681 commit 26160fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Database/Attach/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public function fromPost($uploadedFile)
: $uploadedFile->getRealPath();

if (!$this->putFile($realPath, $this->disk_name)) {
throw new SystemException('The file failed to be stored');
throw new ApplicationException('The file failed to be stored');
}

return $this;
Expand Down

0 comments on commit 26160fa

Please sign in to comment.