From edeff46f3fbfd6b067c65a66176db37e5b13c717 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Thu, 19 Oct 2023 13:14:20 +0200 Subject: [PATCH] system: ok it's an Error then --- src/opnsense/scripts/routes/gateway_watcher.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/opnsense/scripts/routes/gateway_watcher.php b/src/opnsense/scripts/routes/gateway_watcher.php index 54ea5202c..8854a8504 100755 --- a/src/opnsense/scripts/routes/gateway_watcher.php +++ b/src/opnsense/scripts/routes/gateway_watcher.php @@ -59,7 +59,7 @@ while (1) { try { $status = dpinger_status(); - } catch (Exception $e) { + } catch (\Error $e) { sleep($poll); continue; }