add extra space before error in log description (#6505)

to make it easier to read if the log reader using word wrap
This commit is contained in:
Riztard Lanthorn 2022-01-27 11:29:38 +07:00 committed by GitHub
parent 879dacfba6
commit dea585e69b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -558,7 +558,7 @@ class LibraryUpdateService(
// # Source // # Source
// - Manga // - Manga
errors.groupBy({ it.second }, { it.first }).forEach { (error, mangas) -> errors.groupBy({ it.second }, { it.first }).forEach { (error, mangas) ->
out.write("! ${error}\n") out.write("\n! ${error}\n")
mangas.groupBy { it.source }.forEach { (srcId, mangas) -> mangas.groupBy { it.source }.forEach { (srcId, mangas) ->
val source = sourceManager.getOrStub(srcId) val source = sourceManager.getOrStub(srcId)
out.write(" # $source\n") out.write(" # $source\n")