diff --git a/fetch.ce b/fetch.ce index 51c0316e..eddc45ca 100644 --- a/fetch.ce +++ b/fetch.ce @@ -67,7 +67,7 @@ for (var pkg of packages_to_fetch) { } var result = shop.fetch(pkg) - if (result.ok) { + if (result && result.ok) { if (result.zip_blob) { log.console("Fetched: " + pkg) success_count++