fix: 调整部分 sentry 日志
This commit is contained in:
@ -609,7 +609,7 @@ public class MainActivity extends BaseActivity {
|
||||
if (downloadEntity != null) {
|
||||
File file = new File(downloadEntity.getPath());
|
||||
if (!file.exists()) {
|
||||
ToastUtils.INSTANCE.showToast("文件已被删除,无法启动");
|
||||
ToastUtils.showToast("文件已被删除,无法启动");
|
||||
return;
|
||||
}
|
||||
|
||||
@ -620,8 +620,8 @@ public class MainActivity extends BaseActivity {
|
||||
toast("模拟器游戏启动失败,请联系客服反馈相关信息");
|
||||
SentryHelper.INSTANCE.onEvent(
|
||||
"SIMULATOR_SHORTCUT_LAUNCH_ERROR",
|
||||
"raw_json",
|
||||
json
|
||||
"error_digest",
|
||||
exception.getLocalizedMessage()
|
||||
);
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user