Skip to content

Commit

Permalink
Update MainWindow.xaml.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
kgsensei committed Apr 29, 2023
1 parent 8016ea1 commit 2580b82
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion NTH2/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,14 @@ public MainWindow()
// Initialize the Cef Embedded Browser with the settings we just built
Cef.Initialize(settings, performDependencyCheck: false, browserProcessHandler: null);

InitializeComponent();
try
{
InitializeComponent();
}
catch (Exception ex)
{
MessageBox.Show("NitroType Cheat Crashed\nError Info:\n" + ex.InnerException.ToString());
}
AsyncInitialize();

var httpWebRequest = (HttpWebRequest)WebRequest.Create("https://rainydais.com/software.php");
Expand Down

0 comments on commit 2580b82

Please sign in to comment.