添加应用初始化出错时的错误捕获输出

This commit is contained in:
lyswhut 2021-10-29 20:43:31 +08:00
parent ac95f98157
commit ee1cbfb25a
2 changed files with 4 additions and 3 deletions

View File

@ -130,6 +130,8 @@ initNavigation(() => {
store.dispatch(commonAction.checkVersion()) store.dispatch(commonAction.checkVersion())
} }
} }
}).catch(err => {
toast(err.stack, 'long')
}) })
}) })

View File

@ -1,4 +1,3 @@
### 修复 ### 优化
- 修复删除列表时会导致应用崩溃的问题 - 添加应用初始化出错时的错误捕获输出
- 修复原生代码导致的错误日志记录