From 1813b3a3ecca7e7bc1e9ae9d1baf1b559a70168b Mon Sep 17 00:00:00 2001 From: Khaled Lela Date: Thu, 14 Aug 2025 15:28:11 +0300 Subject: Refactor error handling in readScormArchive method to throw the original exception instead of a custom StorageNotFoundException --- src/Manager/ScormDisk.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Manager/ScormDisk.php b/src/Manager/ScormDisk.php index 5b71904..41de387 100644 --- a/src/Manager/ScormDisk.php +++ b/src/Manager/ScormDisk.php @@ -76,7 +76,7 @@ class ScormDisk $this->clean($file); } catch (Exception $ex) { Log::error('Error in readScormArchive: ' . $ex->getMessage() . ' for file: ' . $file); - throw new StorageNotFoundException('scorm_archive_not_found'); + throw $ex; } } -- cgit v1.2.3