Skip to content

Commit

Permalink
Improve wording in CLI exception when output path is ambiguous
Browse files Browse the repository at this point in the history
Related to #929
  • Loading branch information
Tyrrrz committed Sep 14, 2022
1 parent 3078351 commit 9d052f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion DiscordChatExporter.Cli/Commands/Base/ExportCommandBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@ protected async ValueTask ExecuteAsync(IConsole console, IReadOnlyList<Channel>
if (!isValidOutputPath)
{
throw new CommandException(
"Attempted to export multiple channels, but the output path is neither a directory nor a template."
"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."
);
}

Expand Down

0 comments on commit 9d052f9

Please sign in to comment.