Changeset

10369:9d20fca6a485

prosodyctl: Print friendly version of error messages
author Kim Alvefur <zash@zash.se>
date Fri, 01 Nov 2019 23:16:58 +0100
parents 10368:76eb79d372de
children 10370:78bda7932f17
files prosodyctl
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/prosodyctl	Fri Nov 01 23:11:43 2019 +0100
+++ b/prosodyctl	Fri Nov 01 23:16:58 2019 +0100
@@ -144,7 +144,7 @@
 
 	if ok then return 0; end
 
-	show_message(msg)
+	show_message(error_messages[msg])
 	return 1;
 end