JEC/JER cache: also catch connection problems
Reported by @agbet : an exception while connecting (from e.g. session.get
, instead of an HTTP error with the response) was not caught yet.
The logic is the same as for HTTP errors: if we can't reach github we take what's there and assume that's up to date.
Edited by Pieter David