From 5eaf931847dadbcb906372d83fb056fdc93de7e1 Mon Sep 17 00:00:00 2001 From: User Date: Wed, 10 Apr 2024 03:36:09 +0300 Subject: [PATCH] 20240410#8 --- src/App.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.php b/src/App.php index 0826e1b..9fab9e1 100644 --- a/src/App.php +++ b/src/App.php @@ -82,7 +82,7 @@ class App extends Main { $this->syslogger()->warning("Exception: ".$exception->getMessage()." : ".$exception->getFile()." : ".$exception->getLine()); } catch (AppError $appError){ - if($this->logger()) $this->logger()->warning($appError->getMessage()." on ".$appError->getFile().":".$appError->getLine()); + if($this->logger()) $this->logger()->error($appError->getMessage()." on ".$appError->getFile().":".$appError->getLine()); $this->syslogger()->error("Error: ".$appError->getMessage()." : ".$appError->getFile()." : ".$appError->getLine()); } catch (\Error $error) {