diff options
| author | Khaled Lela <eng.khaled.lela@gmail.com> | 2025-08-14 15:28:11 +0300 |
|---|---|---|
| committer | Khaled Lela <eng.khaled.lela@gmail.com> | 2025-08-14 15:28:11 +0300 |
| commit | 1813b3a3ecca7e7bc1e9ae9d1baf1b559a70168b (patch) | |
| tree | 8e31a52a080c98a7439d3c54cda991315e5d4766 /src/Manager/ScormDisk.php | |
| parent | e43bcd1830be760ee2b05c559c661710d107d826 (diff) | |
Refactor error handling in readScormArchive method to throw the original exception instead of a custom StorageNotFoundException
Diffstat (limited to 'src/Manager/ScormDisk.php')
| -rw-r--r-- | src/Manager/ScormDisk.php | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } |
