Cemu Panel - Added Exception logging in debug mode

This commit is contained in:
miku-666
2023-06-03 11:57:38 +02:00
parent 439bfb22ee
commit 878dbd849a

View File

@@ -6,6 +6,7 @@ using System.Windows.Forms;
using PckStudio.Extensions;
using PckStudio.Classes.Misc;
using System.Xml.Serialization;
using System.Diagnostics;
namespace PckStudio.Features
{
@@ -72,8 +73,9 @@ namespace PckStudio.Features
BrowseDirectoryBtn.Enabled = false;
return true;
}
catch
catch (Exception ex)
{
Debug.WriteLine(ex, category: $"{nameof(CemuPanel)}:{nameof(TryApplyPermanentCemuConfig)}");
return false;
}
}