修改mta接入,然而貌似并没有什么卵用
禁用tcagent的uncaught exception 上报
This commit is contained in:
@ -95,10 +95,11 @@ public class AppUncaughtHandler implements UncaughtExceptionHandler {
|
||||
String errorMsg = Log.getStackTraceString(ex);
|
||||
|
||||
// MTA主动上传错误
|
||||
StatService.reportError(mAppController.getApplicationContext(), errorMsg);
|
||||
// StatService.reportError(mAppController.getApplicationContext(), errorMsg);
|
||||
StatService.reportException(mAppController, ex);
|
||||
|
||||
// 上传错误数据
|
||||
DataCollectionUtils.uploadError(mAppController.getApplicationContext(), errorMsg);
|
||||
DataCollectionUtils.uploadError(mAppController, errorMsg);
|
||||
|
||||
// 保存到本地
|
||||
SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd-HH-mm-ss", Locale.getDefault());
|
||||
|
||||
Reference in New Issue
Block a user