diff --git a/DiscordChatExporter.Core/Exporting/ChannelExporter.cs b/DiscordChatExporter.Core/Exporting/ChannelExporter.cs index 7f916704..8a755b78 100644 --- a/DiscordChatExporter.Core/Exporting/ChannelExporter.cs +++ b/DiscordChatExporter.Core/Exporting/ChannelExporter.cs @@ -30,10 +30,12 @@ public class ChannelExporter(DiscordClient discord) // Check if the channel is empty if (request.Channel.IsEmpty) { - throw new DiscordChatExporterException( + // FIXME: need to ensure an empty export file is created right here + + throw new ChannelNotExportedException( $"Channel '{request.Channel.Name}' " + $"of guild '{request.Guild.Name}' " - + $"does not contain any messages." + + $"does not contain any messages; an empty file will be created." ); }