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

View File

@@ -72,9 +72,9 @@ namespace VRCX
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);
}
}

View File

@@ -102,7 +102,7 @@ namespace VRCX
}
catch (Exception e)
{
rejectCallback.ExecuteAsync(e.ToString());
rejectCallback.ExecuteAsync(e.Message);
}
fetchCallback.Dispose();