# HG changeset patch # User Matthew Wild # Date 1521220400 0 # Node ID 1c8c7fd259c8cde9b18930adc234640c17aa1a3b # Parent dc5f3302a642607366e845e6b88ea80b6a7674c8 util.async: Log the non-error state as well when there is an error being processed diff -r dc5f3302a642 -r 1c8c7fd259c8 util/async.lua --- a/util/async.lua Fri Mar 16 17:12:36 2018 +0000 +++ b/util/async.lua Fri Mar 16 17:13:20 2018 +0000 @@ -161,7 +161,7 @@ -- Runner processed all items it can, so save current runner state self.state = state; if err or state ~= self.notified_state then - self:log("debug", "changed state from %s to %s", self.notified_state, err and "error" or state); + self:log("debug", "changed state from %s to %s", self.notified_state, err and ("error ("..state..")") or state); if err then state = "error" else