fix catch log throw ex problem
This commit is contained in:
@@ -156,6 +156,12 @@ object MogoLogCatchManager : IMogoOnMessageListener<RemoteLogPushContent>, Handl
|
||||
|
||||
private fun startCatchLog(content: RemoteLogPushContent, logPrefixName: String? = null) {
|
||||
CallerLogger.d("$M_DEVA$TAG", "startCatchLog path : ${content.pkgName + logPrefixName}")
|
||||
if(MoGoAiCloudClientConfig.getInstance().sn == null){
|
||||
ThreadUtils.runOnUiThread {
|
||||
TipToast.shortTip("缺少设备唯一ID,请检查网络")
|
||||
}
|
||||
return
|
||||
}
|
||||
catchingList.add(content.pkgName + logPrefixName)
|
||||
var delay = (content.duration).toLong()
|
||||
handler.removeMessages(MSG_TRY_CLOSE_LOG)
|
||||
|
||||
Reference in New Issue
Block a user