From 82bd91d9d7e8586a5db8294a32bbb9db0dacbbd4 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Mon, 23 Feb 2026 20:06:12 +0100 Subject: [PATCH] Log error if system status can't load Project......: Performance Profiling Sponsored-by.: NLnet NGI0 Commons Fund --- Zotlabs/Widget/Channel_activities.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/Zotlabs/Widget/Channel_activities.php b/Zotlabs/Widget/Channel_activities.php index 704cbe2a6..db430ba8b 100644 --- a/Zotlabs/Widget/Channel_activities.php +++ b/Zotlabs/Widget/Channel_activities.php @@ -281,14 +281,7 @@ class Channel_activities { ], ]; } else { - self::$activities['status'] = [ - 'label' => t('System status'), - 'icon' => 'gpu-card', - 'url' => z_root() . '/perf', - 'date' => datetime_convert(), - 'items' => ['error' => print_r($response, true)], - 'tpl' => 'system_status_widget.tpl' - ]; + logger("fetching perfstats failed: {$response['return_code']}", LOGGER_NORMAL, LOG_ERR); } }