Changeset

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 12740:f58c6ae5edc1
children 12742:126aefd2c4c6
files util/prosodyctl/check.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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());