From 11029ea231c7de7dcaa2b5c5601b8cc3230fdb39 Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Sun, 25 Dec 2022 17:17:59 +0100 Subject: [PATCH] better error informations --- sbin/risotto_display | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/risotto_display b/sbin/risotto_display index d442942..2642b73 100755 --- a/sbin/risotto_display +++ b/sbin/risotto_display @@ -208,7 +208,7 @@ async def main(): try: await root_option.option.get() except AttributeError: - exit(f'Unable to find {server_name} configuration: {[await o.option.name() for o in await config.option.list(type="optiondescription")]}') + exit(f'Unable to find {server_name} configuration: {[await o.option.description() for o in await config.option.list(type="optiondescription")]}') await table(root_option, 0, values, args.read_only) for title, dico in values.items(): if title == 'Services':