From 7e05bec6a034676c14a5b28454aa4ff31a269500 Mon Sep 17 00:00:00 2001 From: Jakub Kuczys Date: Mon, 24 Jul 2023 20:00:23 +0200 Subject: [PATCH] Include instance name in the instance not found error (#6206) --- redbot/core/data_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redbot/core/data_manager.py b/redbot/core/data_manager.py index 9e9800575..c221301b1 100644 --- a/redbot/core/data_manager.py +++ b/redbot/core/data_manager.py @@ -123,7 +123,7 @@ def load_basic_configuration(instance_name_: str): basic_config = config[_instance_name] except KeyError: print( - "Instance with this name doesn't exist." + f"Instance with name '{_instance_name}' doesn't exist." " You can create new instance using `redbot-setup` prior to running the bot." ) sys.exit(ExitCodes.INVALID_CLI_USAGE)