Handle stupid zzat errors

This commit is contained in:
Mygod
2021-10-29 23:33:08 -04:00
parent f65875a381
commit 4aee4e6549

View File

@@ -58,5 +58,9 @@ object UpdateChecker {
} catch (e: InstallException) {
app.logEvent("InstallErrorCode") { param("errorCode", e.errorCode.toLong()) }
throw AppUpdate.IgnoredException(e)
} catch (e: RuntimeException) {
if (e.message != "Failed to bind to the service.") throw e
app.logEvent("UpdateBindFailure")
throw AppUpdate.IgnoredException(e)
}
}