Add link to troubleshooting guide in library update error log file

(cherry picked from commit 7c246ffc71)
This commit is contained in:
arkon
2021-12-31 15:16:44 -05:00
committed by Jobobby04
parent e3fda751ae
commit 3de8480630
2 changed files with 4 additions and 1 deletions
@@ -741,6 +741,7 @@ class LibraryUpdateService(
if (errors.isNotEmpty()) {
val file = createFileInCacheDir("tachiyomi_update_errors.txt")
file.bufferedWriter().use { out ->
out.write(getString(R.string.library_errors_help, ERROR_LOG_HELP_URL) + "\n\n")
// Error file format:
// ! Error
// # Source
@@ -766,3 +767,4 @@ class LibraryUpdateService(
}
private const val MANGA_PER_SOURCE_QUEUE_WARNING_THRESHOLD = 60
private const val ERROR_LOG_HELP_URL = "https://tachiyomi.org/help/guides/troubleshooting"