mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-03-07 15:36:08 +00:00
Refactor
This commit is contained in:
@@ -175,7 +175,7 @@ namespace DiscordChatExporter.Gui.ViewModels
|
||||
GuildChannelMap = guildChannelMap;
|
||||
SelectedGuild = guildChannelMap.Keys.FirstOrDefault();
|
||||
}
|
||||
catch (DiscordChatExporterException ex) when (!ex.IsCritical)
|
||||
catch (DiscordChatExporterException ex) when (!ex.IsFatal)
|
||||
{
|
||||
Notifications.Enqueue(ex.Message.TrimEnd('.'));
|
||||
}
|
||||
@@ -234,7 +234,7 @@ namespace DiscordChatExporter.Gui.ViewModels
|
||||
|
||||
Interlocked.Increment(ref successfulExportCount);
|
||||
}
|
||||
catch (DiscordChatExporterException ex) when (!ex.IsCritical)
|
||||
catch (DiscordChatExporterException ex) when (!ex.IsFatal)
|
||||
{
|
||||
Notifications.Enqueue(ex.Message.TrimEnd('.'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user