mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-03-11 17:33:03 +00:00
Provide more context in exception messages
This commit is contained in:
@@ -6,8 +6,8 @@ public class DiscordChatExporterException : Exception
|
||||
{
|
||||
public bool IsFatal { get; }
|
||||
|
||||
public DiscordChatExporterException(string message, bool isFatal = false)
|
||||
: base(message)
|
||||
public DiscordChatExporterException(string message, bool isFatal = false, Exception? innerException = null)
|
||||
: base(message, innerException)
|
||||
{
|
||||
IsFatal = isFatal;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user