Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3fda6ed3 authored by Jason Sams's avatar Jason Sams Committed by Android Git Automerger
Browse files

am 43b57ec4: Fix error printing if no command string is set.

* commit '43b57ec4':
  Fix error printing if no command string is set.
parents bb290c89 43b57ec4
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -319,8 +319,12 @@ void Context::destroyWorkerThreadResources() {

void Context::printWatchdogInfo(void *ctx) {
    Context *rsc = (Context *)ctx;
    if (rsc->watchdog.command && rsc->watchdog.file) {
        LOGE("RS watchdog timeout: %i  %s  line %i %s", rsc->watchdog.inRoot,
             rsc->watchdog.command, rsc->watchdog.line, rsc->watchdog.file);
    } else {
        LOGE("RS watchdog timeout: %i", rsc->watchdog.inRoot);
    }
}