improve logging
This commit is contained in:
parent
f6670091ec
commit
23e60084d0
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ abstract class LoggingWorker(context: Context, workerParams: WorkerParameters, p
|
|||
try {
|
||||
withContext(dispatcher) {
|
||||
doWorkAndLog().also {
|
||||
aapsLogger.debug(LTag.WORKER, "Worker result ${it::class.java.simpleName.uppercase()} for ${this::class.java}")
|
||||
aapsLogger.debug(LTag.WORKER, "Worker result ${it::class.java.simpleName.uppercase()} for ${this@LoggingWorker::class.java}")
|
||||
}
|
||||
}
|
||||
} catch (e: Exception) {
|
||||
|
|
Loading…
Reference in a new issue