Handle download errors since testing environment doesn't have fetch
Handle download errors since testing environment doesn't have fetch

mozilla-iot/gateway,mozilla-iot/gateway,moziot/gateway,mozilla-iot/gateway,moziot/gateway,mozilla-iot/gateway,mozilla-iot/gateway,moziot/gateway