log errors without tags
This commit is contained in:
parent
05d5f8217c
commit
ae86cfea77
|
@ -591,14 +591,14 @@ class ActionStringHandler @Inject constructor(
|
|||
result.inserted.forEach { nsUpload.uploadTempTarget(it) }
|
||||
result.updated.forEach { nsUpload.updateTempTarget(it) }
|
||||
}, {
|
||||
aapsLogger.error(LTag.BGSOURCE, "Error while saving temporary target", it)
|
||||
aapsLogger.error("Error while saving temporary target", it)
|
||||
})
|
||||
else
|
||||
disposable += repository.runTransactionForResult(CancelCurrentTemporaryTargetIfAnyTransaction(System.currentTimeMillis()))
|
||||
.subscribe({ result ->
|
||||
result.updated.forEach { nsUpload.updateTempTarget(it) }
|
||||
}, {
|
||||
aapsLogger.error(LTag.BGSOURCE, "Error while saving temporary target", it)
|
||||
aapsLogger.error("Error while saving temporary target", it)
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
@ -149,7 +149,7 @@ class DexcomPlugin @Inject constructor(
|
|||
}
|
||||
}
|
||||
}, {
|
||||
aapsLogger.error(LTag.BGSOURCE, "Error while saving values from Dexcom App", it)
|
||||
aapsLogger.error("Error while saving values from Dexcom App", it)
|
||||
})
|
||||
} catch (e: Exception) {
|
||||
aapsLogger.error("Error while processing intent from Dexcom App", e)
|
||||
|
|
|
@ -125,7 +125,7 @@ class EversensePlugin @Inject constructor(
|
|||
nsUpload.uploadBg(it, GlucoseValue.SourceSensor.EVERSENSE.text)
|
||||
}
|
||||
}, {
|
||||
aapsLogger.error(LTag.BGSOURCE, "Error while saving values from Eversense App", it)
|
||||
aapsLogger.error("Error while saving values from Eversense App", it)
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
|
@ -82,7 +82,7 @@ class GlimpPlugin @Inject constructor(
|
|||
nsUpload.uploadBg(it, GlucoseValue.SourceSensor.GLIMP.text)
|
||||
}
|
||||
}, {
|
||||
aapsLogger.error(LTag.BGSOURCE, "Error while saving values from Glimp App", it)
|
||||
aapsLogger.error("Error while saving values from Glimp App", it)
|
||||
})
|
||||
return Result.success()
|
||||
}
|
||||
|
|
|
@ -100,7 +100,7 @@ class MM640gPlugin @Inject constructor(
|
|||
nsUpload.uploadBg(it, GlucoseValue.SourceSensor.MM_600_SERIES.text)
|
||||
}
|
||||
}, {
|
||||
aapsLogger.error(LTag.BGSOURCE, "Error while saving values from Eversense App", it)
|
||||
aapsLogger.error("Error while saving values from Eversense App", it)
|
||||
})
|
||||
} catch (e: JSONException) {
|
||||
aapsLogger.error("Exception: ", e)
|
||||
|
|
|
@ -139,7 +139,7 @@ class NSClientSourcePlugin @Inject constructor(
|
|||
nsClientSourcePlugin.detectSource(it)
|
||||
}
|
||||
}, {
|
||||
aapsLogger.error(LTag.BGSOURCE, "Error while saving values from NSClient App", it)
|
||||
aapsLogger.error("Error while saving values from NSClient App", it)
|
||||
})
|
||||
} catch (e: Exception) {
|
||||
aapsLogger.error("Unhandled exception", e)
|
||||
|
|
|
@ -93,7 +93,7 @@ class PoctechPlugin @Inject constructor(
|
|||
nsUpload.uploadBg(it, GlucoseValue.SourceSensor.POCTECH_NATIVE.text)
|
||||
}
|
||||
}, {
|
||||
aapsLogger.error(LTag.BGSOURCE, "Error while saving values from Poctech App", it)
|
||||
aapsLogger.error("Error while saving values from Poctech App", it)
|
||||
})
|
||||
} catch (e: JSONException) {
|
||||
aapsLogger.error("Exception: ", e)
|
||||
|
|
|
@ -82,7 +82,7 @@ class TomatoPlugin @Inject constructor(
|
|||
nsUpload.uploadBg(it, GlucoseValue.SourceSensor.LIBRE_1_TOMATO.text)
|
||||
}
|
||||
}, {
|
||||
aapsLogger.error(LTag.BGSOURCE, "Error while saving values from Tomato App", it)
|
||||
aapsLogger.error("Error while saving values from Tomato App", it)
|
||||
})
|
||||
return Result.success()
|
||||
}
|
||||
|
|
|
@ -78,7 +78,7 @@ class FabricPrivacy @Inject constructor(
|
|||
// Crashlytics logException
|
||||
fun logException(throwable: Throwable) {
|
||||
FirebaseCrashlytics.getInstance().recordException(throwable)
|
||||
aapsLogger.error(LTag.CORE, "Exception: ", throwable)
|
||||
aapsLogger.error("Exception: ", throwable)
|
||||
}
|
||||
|
||||
fun fabricEnabled(): Boolean {
|
||||
|
|
Loading…
Reference in a new issue