mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2025-01-12 07:58:01 +00:00
add manifest existion check
This commit is contained in:
parent
b74be8a1bf
commit
12452b46d2
@ -56,6 +56,20 @@ try
|
|||||||
file_get_contents(__DIR__ . '/../../config/nodes.json')
|
file_get_contents(__DIR__ . '/../../config/nodes.json')
|
||||||
) as $node)
|
) as $node)
|
||||||
{
|
{
|
||||||
|
// Manifest exists
|
||||||
|
if (empty($node->manifest))
|
||||||
|
{
|
||||||
|
array_push(
|
||||||
|
$debug['dump'],
|
||||||
|
sprintf(
|
||||||
|
_('Manifest URL not provided for this node: %s'),
|
||||||
|
$node
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
// Skip non-condition addresses
|
// Skip non-condition addresses
|
||||||
$error = [];
|
$error = [];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user