Mercurial > prosody-hg
diff util/prosodyctl/check.lua @ 12741:7b3deafb9162
prosodyctl: check turn: More clearly indicate the error is from TURN server
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Thu, 06 Oct 2022 11:12:57 +0100 |
| parents | bb5f772b3189 |
| children | e609e10966f5 |
line wrap: on
line diff
--- a/util/prosodyctl/check.lua Tue Oct 04 12:04:43 2022 +0200 +++ b/util/prosodyctl/check.lua Thu Oct 06 11:12:57 2022 +0100 @@ -155,7 +155,7 @@ result.error = "TURN server did not response to allocation request: "..err; return result; elseif alloc_response:is_err_resp() then - result.error = ("TURN allocation failed: %d (%s)"):format(alloc_response:get_error()); + result.error = ("TURN server failed to create allocation: %d (%s)"):format(alloc_response:get_error()); return result; elseif not alloc_response:is_success_resp() then result.error = ("Unexpected TURN response: %d (%s)"):format(alloc_response:get_type());
