1
0
Fork 1
mirror of https://gitlab.com/mangadex-pub/mangadex_at_home.git synced 2024-01-19 02:48:37 +00:00

Spotless + different log output

This commit is contained in:
carbotaniuman 2020-06-13 17:46:18 -05:00
parent d478135af1
commit 57ba8eb019
3 changed files with 7 additions and 5 deletions

View file

@ -27,6 +27,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- [2020-06-13] Modified AsyncAppender queue size to 1024 by [@lflare].
- [2020-06-13] Bumped client version to 5 by [@lflare].
- [2020-06-13] Modularized the image server [@carbotaniuman].
- [2020-06-13] Suppressed log output for IOException [@carbotaniuman].
## [1.0.0-RC14] - 2020-06-12
### Fixed

View file

@ -20,8 +20,6 @@ public final class WebSettings {
@Override
public String toString() {
return "WebSettings{" +
"uiPort=" + uiPort +
'}';
return "WebSettings{" + "uiPort=" + uiPort + '}';
}
}

View file

@ -85,9 +85,12 @@ class Netty(private val tls: ServerSettings.TlsCert, private val clientSettings:
if (LOGGER.isTraceEnabled) {
LOGGER.trace("Ignored invalid SSL connection")
}
} else if (cause is IOException && cause.message?.contains("peer") == true) {
} else if (cause is IOException) {
if (LOGGER.isInfoEnabled) {
LOGGER.info("User (downloader) abruptly closed the connection")
}
if (LOGGER.isTraceEnabled) {
LOGGER.trace("User (downloader) closed the connection")
LOGGER.trace("IOException in pipeline", cause)
}
} else {
ctx.fireExceptionCaught(cause)