[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

@@ -59,7 +59,7 @@ namespace DiscordChatExporter.Domain.Exporting
// Throw if no messages were exported
if (!exportedAnything)
throw DiscordChatExporterException.ChannelIsEmpty(request.Channel.Name);
throw DiscordChatExporterException.ChannelIsEmpty();
}
}
}