From 9166973ce9a5aad1900abecab6caddf9bbe2d015 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20Mel=C3=ADk?= Date: Sun, 23 Feb 2025 13:37:20 +0100 Subject: [PATCH] Display verbose error message instead of generic error --- application/controllers/Widgets.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/application/controllers/Widgets.php b/application/controllers/Widgets.php index 9da056677..80b7d0045 100644 --- a/application/controllers/Widgets.php +++ b/application/controllers/Widgets.php @@ -157,7 +157,9 @@ class Widgets extends CI_Controller { $this->load->view('widgets/on_air', $data); } else { - show_404(__("No CAT interfaced radios found")); + show_error( + __("No CAT interfaced radios found. You need to have at least one radio interface configured.") + ); return; } }