[CLI] Display channel name for errors during ExportMultipleAsync (#452)

This commit is contained in:
Sanqui
2020-12-14 17:48:11 +01:00
committed by GitHub
parent 63803f98aa
commit d020652f50
3 changed files with 7 additions and 7 deletions

View File

@@ -46,9 +46,9 @@ Failed to perform an HTTP request.
return new DiscordChatExporterException(message);
}
internal static DiscordChatExporterException ChannelIsEmpty(string channel)
internal static DiscordChatExporterException ChannelIsEmpty()
{
var message = $"Channel '{channel}' contains no messages for the specified period.";
var message = $"No messages for the specified period.";
return new DiscordChatExporterException(message);
}
}