补充异常日志内容
This commit is contained in:
parent
60a132489a
commit
f9fd849ce0
@ -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{
|
||||||
|
Loading…
Reference in New Issue
Block a user