mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-03-18 05:04:51 +08:00
fix unhandled exception
This commit is contained in:
parent
7253a309c7
commit
33f517333f
@ -334,7 +334,7 @@ class WorkerContainer implements ContainerInterface
|
||||
try {
|
||||
$reflection = new ReflectionClass($concrete);
|
||||
} catch (ReflectionException $e) {
|
||||
throw new EntryResolutionException("指定的类 {$concrete} 不存在");
|
||||
throw new EntryResolutionException("指定的类 {$concrete} 不存在", 0, $e);
|
||||
}
|
||||
|
||||
if (!$reflection->isInstantiable()) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user