aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx/Ui/DlcWindow.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx/Ui/DlcWindow.cs')
-rw-r--r--Ryujinx/Ui/DlcWindow.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Ryujinx/Ui/DlcWindow.cs b/Ryujinx/Ui/DlcWindow.cs
index a81698fa..3e57c579 100644
--- a/Ryujinx/Ui/DlcWindow.cs
+++ b/Ryujinx/Ui/DlcWindow.cs
@@ -105,13 +105,13 @@ namespace Ryujinx.Ui
}
catch (InvalidDataException exception)
{
- Logger.PrintError(LogClass.Application, $"{exception.Message}. Errored File: {containerPath}");
+ Logger.Error?.Print(LogClass.Application, $"{exception.Message}. Errored File: {containerPath}");
GtkDialog.CreateInfoDialog("Ryujinx - Error", "Add DLC Failed!", "The NCA header content type check has failed. This is usually because the header key is incorrect or missing.");
}
catch (MissingKeyException exception)
{
- Logger.PrintError(LogClass.Application, $"Your key set is missing a key with the name: {exception.Name}. Errored File: {containerPath}");
+ Logger.Error?.Print(LogClass.Application, $"Your key set is missing a key with the name: {exception.Name}. Errored File: {containerPath}");
GtkDialog.CreateInfoDialog("Ryujinx - Error", "Add DLC Failed!", $"Your key set is missing a key with the name: {exception.Name}");
}