add manifest existion check

This commit is contained in:
ghost 2023-09-16 15:41:03 +03:00
parent b74be8a1bf
commit 12452b46d2

View File

@ -56,6 +56,20 @@ try
file_get_contents(__DIR__ . '/../../config/nodes.json')
) 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
$error = [];