mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-09 20:58:54 -05:00
Include instance name in the instance not found error (#6206)
This commit is contained in:
parent
6f920daeed
commit
7e05bec6a0
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user