Open lizmat opened 5 years ago
The above should probably fail if it gets invalid json. So this should probably throw, and be caught inside Zef::Repository
(where it gets called) to deliver the exception message via $logger.emit(...)
.
Is this issue closable?
It looks like
zef
has a bad failure mode if the file obtained from the ecosystem is being blocked / redirected / replaced by garbage that is not the right JSON: like the ecosystem is empty.Spotted at the GPW of which the WiFi apparently had some parental controls enabled on one of the outer routers.