From de035cefffcaa04c29d9ff8ad3df4c4af0592d61 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Fri, 25 Sep 2015 13:29:07 +0200 Subject: [PATCH] mod_http_upload: Correct error message --- mod_http_upload/src/mod_http_upload.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod_http_upload/src/mod_http_upload.erl b/mod_http_upload/src/mod_http_upload.erl index 93d24b2..61f14d7 100644 --- a/mod_http_upload/src/mod_http_upload.erl +++ b/mod_http_upload/src/mod_http_upload.erl @@ -552,7 +552,7 @@ create_slot(#state{service_url = ServiceURL}, User, File, Size, ContentType, ?INFO_MSG("Got status code 413 for ~s from <~s>", [User, ServiceURL]), {error, ?ERR_NOT_ACCEPTABLE}; {ok, {Code, _Body}} -> - ?ERROR_MSG("Got unexpected status code ~s from <~s>: ~B", + ?ERROR_MSG("Got unexpected status code for ~s from <~s>: ~B", [User, ServiceURL, Code]), {error, ?ERR_SERVICE_UNAVAILABLE}; {error, Reason} ->