diff --git a/modules/system/traits/AssetMaker.php b/modules/system/traits/AssetMaker.php index 9f711819b2..1e213fd747 100644 --- a/modules/system/traits/AssetMaker.php +++ b/modules/system/traits/AssetMaker.php @@ -7,7 +7,7 @@ use System\Classes\Vite; use System\Models\Parameter; use System\Models\PluginVersion; -use Winter\Storm\Exception\ApplicationException; +use Winter\Storm\Exception\SystemException; use Winter\Storm\Support\Facades\Event; use Winter\Storm\Support\Facades\File; use Winter\Storm\Support\Facades\Html; @@ -215,7 +215,7 @@ public function addVite(array|string $entrypoints, ?string $package = null): voi if (is_null($package)) { $caller = get_called_class(); if (!($plugin = PluginManager::instance()->findByNamespace($caller))) { - throw new ApplicationException('Unable to determine vite package from namespace: ' . $caller); + throw new SystemException('Unable to determine vite package from namespace: ' . $caller); } // Set package to the plugin id $package = $plugin->getPluginIdentifier();