diff options
author | Evgeny Khramtsov <ekhramtsov@process-one.net> | 2019-06-24 20:32:34 +0300 |
---|---|---|
committer | Evgeny Khramtsov <ekhramtsov@process-one.net> | 2019-06-24 20:32:34 +0300 |
commit | a3e0cbbdd8a3ec4bbfa17e5147c59978021fc0b5 (patch) | |
tree | 6a00378671ffaee338317c403b46b6a5ecad5ce1 /src/mod_http_upload_quota.erl | |
parent | Check if mod_last is loaded before calling its functions (diff) |
Make logging messages more consistent
Diffstat (limited to 'src/mod_http_upload_quota.erl')
-rw-r--r-- | src/mod_http_upload_quota.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mod_http_upload_quota.erl b/src/mod_http_upload_quota.erl index 4f0d49c0..56d46b02 100644 --- a/src/mod_http_upload_quota.erl +++ b/src/mod_http_upload_quota.erl @@ -124,7 +124,7 @@ init([ServerHost, Opts]) -> -spec handle_call(_, {pid(), _}, state()) -> {noreply, state()}. handle_call(Request, From, State) -> - ?ERROR_MSG("Got unexpected request from ~p: ~p", [From, Request]), + ?ERROR_MSG("Unexpected request from ~p: ~p", [From, Request]), {noreply, State}. -spec handle_cast(_, state()) -> {noreply, state()}. @@ -181,7 +181,7 @@ handle_cast({handle_slot_request, #jid{user = U, server = S} = JID, Path, Size}, end, {noreply, State#state{disk_usage = NewDiskUsage}}; handle_cast(Request, State) -> - ?ERROR_MSG("Got unexpected request: ~p", [Request]), + ?ERROR_MSG("Unexpected request: ~p", [Request]), {noreply, State}. -spec handle_info(_, state()) -> {noreply, state()}. @@ -207,7 +207,7 @@ handle_info(sweep, #state{server_host = ServerHost, end, {noreply, State}; handle_info(Info, State) -> - ?ERROR_MSG("Got unexpected info: ~p", [Info]), + ?ERROR_MSG("Unexpected info: ~p", [Info]), {noreply, State}. -spec terminate(normal | shutdown | {shutdown, _} | _, state()) -> ok. |