From a9b13d5a1959618a315e35140e1e473d67c1964c Mon Sep 17 00:00:00 2001 From: Jakub Kuczys Date: Sun, 23 Jul 2023 03:29:58 +0200 Subject: [PATCH] Include instance name in the instance not found error --- 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 9e980057596..c221301b151 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)