mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-21 00:52:33 -04:00
Log error if system status can't load
Project......: Performance Profiling Sponsored-by.: NLnet NGI0 Commons Fund
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user