cleanup code

This commit is contained in:
pypy
2020-11-07 18:46:25 +09:00
parent 030185f683
commit e6e797f7d6
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -72,9 +72,9 @@ namespace VRCX
Cef.Shutdown(); Cef.Shutdown();
} }
} }
catch (Exception ex) catch (Exception e)
{ {
MessageBox.Show($"{ex.Message}\n{ex.StackTrace}", "PLEASE REPORT TO PYPY", MessageBoxButtons.OK, MessageBoxIcon.Error); MessageBox.Show(e.ToString(), "PLEASE REPORT TO PYPY", MessageBoxButtons.OK, MessageBoxIcon.Error);
Environment.Exit(0); Environment.Exit(0);
} }
} }
+1 -1
View File
@@ -102,7 +102,7 @@ namespace VRCX
} }
catch (Exception e) catch (Exception e)
{ {
rejectCallback.ExecuteAsync(e.ToString()); rejectCallback.ExecuteAsync(e.Message);
} }
fetchCallback.Dispose(); fetchCallback.Dispose();