From 384cb5cdc01955c822712c2ddf7726ddb6ac7d20 Mon Sep 17 00:00:00 2001 From: Kevin Hester Date: Sat, 3 Apr 2021 09:05:11 +0800 Subject: [PATCH] stop autobug spam about misformatted spiffs partitions --- .../java/com/geeksville/mesh/service/SoftwareUpdateService.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/geeksville/mesh/service/SoftwareUpdateService.kt b/app/src/main/java/com/geeksville/mesh/service/SoftwareUpdateService.kt index 2be1b0ed..8326a516 100644 --- a/app/src/main/java/com/geeksville/mesh/service/SoftwareUpdateService.kt +++ b/app/src/main/java/com/geeksville/mesh/service/SoftwareUpdateService.kt @@ -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) }