1
0
Fork 0
mirror of https://github.com/processone/ejabberd synced 2025-10-05 19:42:11 +02:00

Improve error handling

This commit is contained in:
Mickael Remond 2016-07-31 22:48:24 +02:00
parent 2a49f8cae7
commit 6ea7153e31
No known key found for this signature in database
GPG key ID: E6F6045D79965AA3
3 changed files with 26 additions and 11 deletions

View file

@ -87,6 +87,7 @@ get_commands_spec() ->
args = [], result = {res, rescode}},
#ejabberd_commands{name = reopen_log, tags = [logs, server],
desc = "Reopen the log files",
policy = admin,
module = ?MODULE, function = reopen_log,
args = [], result = {res, rescode}},
#ejabberd_commands{name = rotate_log, tags = [logs, server],