diff --git a/Annotation/Loader.php b/Annotation/Loader.php index 246a431b..38191045 100644 --- a/Annotation/Loader.php +++ b/Annotation/Loader.php @@ -186,7 +186,7 @@ class Loader extends BaseObject $this->_classes[$replace->getName()] = $_array; } catch (Throwable $throwable) { - echo $throwable->getMessage() . PHP_EOL; + $this->error($throwable->getMessage()); } } }