mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-12 06:48:41 +00:00
Catch error
This commit is contained in:
parent
a7ed339bfb
commit
312273584b
|
|
@ -76,7 +76,7 @@ final class Storage
|
||||||
$env = $env::getInstance();
|
$env = $env::getInstance();
|
||||||
|
|
||||||
self::$registered[$stg] = $env;
|
self::$registered[$stg] = $env;
|
||||||
} catch(\Exception $e) {
|
} catch(\Throwable $e) {
|
||||||
throw new \Exception();
|
throw new \Exception();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user