bradford-smith94/informant

Warn instead of breaking during offline operations

Closed this issue · 0 comments

Running pacman -U with packages from the cache (coincidentally trying to solve network issues) fails:

(1/3) Checking Arch News ...  
<urlopen error [Errno -3] Temporary failure in name resolution>  

I assume this is because I'm not connected to the internet, but I'm running an operation that would otherwise not require internet access. Now I need to temporarily disable informant to be able to perform this operation. Can Informant catch these errors and warn about missing internet access instead of breaking?

(can confirm, after -Rns informant, the installation works flawlessly)