From 66c096f8f157f70c77098498413561d86976e0e8 Mon Sep 17 00:00:00 2001 From: Joseph Beeson Date: Fri, 31 Jan 2025 09:39:09 +0100 Subject: [PATCH] exception cleanup --- plugins/Monolog/config/config.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/plugins/Monolog/config/config.php b/plugins/Monolog/config/config.php index 59be798d34a..9d01ef4a723 100644 --- a/plugins/Monolog/config/config.php +++ b/plugins/Monolog/config/config.php @@ -241,12 +241,10 @@ $path = $c->get('ini.log.custom_function_file'); if (!file_exists($path)) { return null; - throw new \Exception('Specified path to custom_function_file does not exist: ' . $path); } if (!is_readable($path)) { return null; - throw new \Exception('Specified path to custom_function_file file is not readable: ' . $path); } return $path;