diff --git a/System/Error/LoggerAspect.php b/System/Error/LoggerAspect.php index 6d30f75a..3c5c7359 100644 --- a/System/Error/LoggerAspect.php +++ b/System/Error/LoggerAspect.php @@ -39,7 +39,9 @@ class LoggerAspect implements IAspect $data = call_user_func($this->handler, func_get_args()); $this->print_runtime($startTime); - + if ($data === null) { + return; + } return $data; }