补充异常日志内容

This commit is contained in:
zlzw 2022-10-22 17:18:02 +08:00
parent 60a132489a
commit f9fd849ce0

View File

@ -57,7 +57,7 @@ public class LogUtil {
if (file.exists()) { if (file.exists()) {
Log.i("异常上传", "pushError: 准备上传文件"); Log.i("异常上传", "pushError: 准备上传文件");
String err = FileUtil.loadStringToFile(file); String err = FileUtil.loadStringToFile(file);
String time = matcher(".(?<=time\\=).*(?=\\nUserData\\=)", err); String time = matcher(".(?<=time\\=).*(?=\\AndroidVersion\\=)", err);
if(time!=null){ if(time!=null){
time=time.replace("=",""); time=time.replace("=","");
}else{ }else{