diff --git a/OCH/mogo-och-common-module/src/debug/java/com/mogo/och/common/module/debug/DebugDataDispatch.kt b/OCH/mogo-och-common-module/src/debug/java/com/mogo/och/common/module/debug/DebugDataDispatch.kt index fcf51b39bf..16530be879 100644 --- a/OCH/mogo-och-common-module/src/debug/java/com/mogo/och/common/module/debug/DebugDataDispatch.kt +++ b/OCH/mogo-och-common-module/src/debug/java/com/mogo/och/common/module/debug/DebugDataDispatch.kt @@ -74,10 +74,10 @@ object DebugDataDispatch { fun getLocaitonByLog(path:String) { ThreadUtils.getIoPool().execute { - val inputStream = FileInputStream(path) - val reader = BufferedReader(InputStreamReader(inputStream)) - var line: String? = "" try { + val inputStream = FileInputStream(path) + val reader = BufferedReader(InputStreamReader(inputStream)) + var line: String? = "" while (reader.readLine().also { line = it } != null) { val list = GsonUtils.fromJson( line.toString(),