Software /
code /
prosody
Changeset
9930:12a31296d63d
moduleapi: Log suppressed status priority and message when not overriding
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 26 Mar 2019 17:22:56 +0000 |
parents | 9929:3b776c32b9be |
children | 9933:aac4c55721f9 |
files | core/moduleapi.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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();