Browse Source

add manifest existion check

main
ghost 1 year ago
parent
commit
12452b46d2
  1. 14
      src/crontab/import/feed.php

14
src/crontab/import/feed.php

@ -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…
Cancel
Save