|
@@ -85,7 +85,7 @@ namespace Shadowsocks |
|
|
Logging.Error(e.ExceptionObject?.ToString());
|
|
|
Logging.Error(e.ExceptionObject?.ToString());
|
|
|
MessageBox.Show(
|
|
|
MessageBox.Show(
|
|
|
$"{I18N.GetString("Unexpected error, shadowsocks will exit. Please report to")} https://github.com/shadowsocks/shadowsocks-windows/issues {Environment.NewLine}{e.ExceptionObject?.ToString()}",
|
|
|
$"{I18N.GetString("Unexpected error, shadowsocks will exit. Please report to")} https://github.com/shadowsocks/shadowsocks-windows/issues {Environment.NewLine}{e.ExceptionObject?.ToString()}",
|
|
|
"Shadowsocks Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
|
|
|
|
|
|
|
|
"Shadowsocks non-UI Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
|
|
Application.Exit();
|
|
|
Application.Exit();
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -96,7 +96,7 @@ namespace Shadowsocks |
|
|
Logging.Error(errorMsg);
|
|
|
Logging.Error(errorMsg);
|
|
|
MessageBox.Show(
|
|
|
MessageBox.Show(
|
|
|
$"{I18N.GetString("Unexpected error, shadowsocks will exit. Please report to")} https://github.com/shadowsocks/shadowsocks-windows/issues {Environment.NewLine}{errorMsg}",
|
|
|
$"{I18N.GetString("Unexpected error, shadowsocks will exit. Please report to")} https://github.com/shadowsocks/shadowsocks-windows/issues {Environment.NewLine}{errorMsg}",
|
|
|
"Shadowsocks Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
|
|
|
|
|
|
|
|
"Shadowsocks UI Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
|
|
Application.Exit();
|
|
|
Application.Exit();
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|