Users may still be interested in the actual error message even if there
is a custom message for failure of the connectivity check since the
cause may be intermittent.
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
msg += " CONNECTIVITY_CHECK_URIS = \"https://www.example.com/\""
msg += " You could also set BB_NO_NETWORK = \"1\" to disable network\n"
msg += " access if all required sources are on local disk.\n"
+ else:
+ msg = "%s.\n%s" % (err, msg)
retval = msg
return retval