mod_http_upload: Correct error message
This commit is contained in:
parent
ce4c11f5fe
commit
de035cefff
|
@ -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]),
|
?INFO_MSG("Got status code 413 for ~s from <~s>", [User, ServiceURL]),
|
||||||
{error, ?ERR_NOT_ACCEPTABLE};
|
{error, ?ERR_NOT_ACCEPTABLE};
|
||||||
{ok, {Code, _Body}} ->
|
{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]),
|
[User, ServiceURL, Code]),
|
||||||
{error, ?ERR_SERVICE_UNAVAILABLE};
|
{error, ?ERR_SERVICE_UNAVAILABLE};
|
||||||
{error, Reason} ->
|
{error, Reason} ->
|
||||||
|
|
Loading…
Reference in New Issue