aboutsummaryrefslogtreecommitdiffstats
path: root/util/prosodyctl
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2022-10-06 11:12:57 +0100
committerMatthew Wild <mwild1@gmail.com>2022-10-06 11:12:57 +0100
commitbfa6d5634afbed156537de9eb620964b24111ff2 (patch)
tree864e8ce3a899f9c18b3ccf80d68391e74f2ec5b7 /util/prosodyctl
parent988e651630d980249c8ae6ee698527094fc4d4b4 (diff)
downloadprosody-bfa6d5634afbed156537de9eb620964b24111ff2.tar.gz
prosody-bfa6d5634afbed156537de9eb620964b24111ff2.zip
prosodyctl: check turn: More clearly indicate the error is from TURN server
Diffstat (limited to 'util/prosodyctl')
-rw-r--r--util/prosodyctl/check.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/prosodyctl/check.lua b/util/prosodyctl/check.lua
index 42d73f29..3f89f930 100644
--- a/util/prosodyctl/check.lua
+++ b/util/prosodyctl/check.lua
@@ -155,7 +155,7 @@ local function check_turn_service(turn_service, ping_service)
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());