# HG changeset patch # User Matthew Wild # Date 1553620976 0 # Node ID 12a31296d63d13043d340505d0ae57fa3297c6dc # Parent 3b776c32b9be93b09f4503fc552fa6200de88776 moduleapi: Log suppressed status priority and message when not overriding diff -r 3b776c32b9be -r 12a31296d63d core/moduleapi.lua --- a/core/moduleapi.lua Tue Mar 26 17:22:25 2019 +0000 +++ b/core/moduleapi.lua Tue Mar 26 17:22:56 2019 +0000 @@ -527,7 +527,7 @@ -- By default an 'error' status can only be overwritten by another 'error' status if (current_priority >= status_priorities.error and priority < current_priority and override ~= true) or (override == false and current_priority > priority) then - self:log("debug", "Ignoring status"); + self:log("debug", "moduleapi: ignoring status [prio %d override %s]: %s", priority, override, status_message); return; end self.status_type, self.status_message, self.status_time = status_type, status_message, time_now();