fix: 调整部分 sentry 日志

This commit is contained in:
chenjuntao
2022-08-02 13:59:40 +08:00
parent f8c61b5d53
commit 07f68f050b
2 changed files with 3 additions and 9 deletions

View File

@ -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;