25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-30 16:36:29 +01:00

mod_push: Fix log message argument

This commit is contained in:
Holger Weiss 2020-11-04 10:10:20 +01:00
parent f40c5c304d
commit d37b2f851d

View File

@ -244,7 +244,7 @@ delete_old_sessions(Days) ->
?INFO_MSG("Deleted push sessions older than ~B days", [Days]), ?INFO_MSG("Deleted push sessions older than ~B days", [Days]),
ok; ok;
[{error, Reason} | _] -> [{error, Reason} | _] ->
?ERROR_MSG("Error while deleting old push sessions: ~p", [NotOk]), ?ERROR_MSG("Error while deleting old push sessions: ~p", [Reason]),
Reason Reason
end. end.