diff --git a/app/src/main/java/io/legado/app/data/entities/BookSource.kt b/app/src/main/java/io/legado/app/data/entities/BookSource.kt index 665a79ceb..8011f44c9 100644 --- a/app/src/main/java/io/legado/app/data/entities/BookSource.kt +++ b/app/src/main/java/io/legado/app/data/entities/BookSource.kt @@ -92,7 +92,7 @@ data class BookSource( } } }.onFailure { - kinds.add(ExploreKind(it.localizedMessage ?: "")) + kinds.add(ExploreKind("ERROR:${it.localizedMessage}", it.stackTraceToString())) AppLog.put("解析发现规则出错\n${it.localizedMessage}", it) it.printOnDebug() } diff --git a/app/src/main/java/io/legado/app/ui/book/source/debug/BookSourceDebugActivity.kt b/app/src/main/java/io/legado/app/ui/book/source/debug/BookSourceDebugActivity.kt index 998bb81c8..59c40e692 100644 --- a/app/src/main/java/io/legado/app/ui/book/source/debug/BookSourceDebugActivity.kt +++ b/app/src/main/java/io/legado/app/ui/book/source/debug/BookSourceDebugActivity.kt @@ -90,6 +90,10 @@ class BookSourceDebugActivity : VMBaseActivity