Provide more context in exception messages

This commit is contained in:
Tyrrrz
2023-11-16 21:10:24 +02:00
parent a46bf9bf11
commit e89701e3f9
5 changed files with 33 additions and 19 deletions

View File

@@ -168,7 +168,9 @@ public abstract class ExportCommandBase : DiscordCommandBase
{
throw new CommandException(
"Attempted to export multiple channels, but the output path is neither a directory nor a template. "
+ "If the provided output path is meant to be treated as a directory, make sure it ends with a slash."
+ "If the provided output path is meant to be treated as a directory, make sure it ends with a slash. "
+ "Provided output path: "
+ OutputPath
);
}