stop autobug spam about misformatted spiffs partitions

pull/276/head^2
Kevin Hester 2021-04-03 09:05:11 +08:00
rodzic 0f384fc62f
commit 384cb5cdc0
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -297,8 +297,8 @@ class SoftwareUpdateService : JobIntentService(), Logging {
// If we can't update spiffs (because not supported by target), do not fail
errormsg("Ignoring failure to update spiffs on old appload")
} catch (_: DeviceRejectedException) {
// the spi filesystem of this device is malformatted
reportError("Device rejected invalid spiffs partition")
// the spi filesystem of this device is malformatted, fail silently because most users don't need the web server
errormsg("Device rejected invalid spiffs partition")
}
assets.appLoad?.let { doUpdate(context, sync, it, FLASH_REGION_APPLOAD) }