mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-03-31 17:15:38 +00:00
add manifest existion check
This commit is contained in:
parent
b74be8a1bf
commit
12452b46d2
1 changed files with 14 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue