Skip to content

Commit 32e2550

Browse files
committed
Debug
1 parent 9a38b92 commit 32e2550

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/framework/src/Support/Filesystem/MediaFile.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public function getMimeType(): string
130130

131131
public function getHash(): string
132132
{
133-
return md5_file($this->getAbsolutePath());
133+
return md5_file($this->getAbsolutePath()) ?: throw new FileNotFoundException($this->path);
134134
}
135135

136136
/** @internal */

0 commit comments

Comments
 (0)