1
0
mirror of https://gitlab.com/mangadex-pub/mangadex_at_home.git synced 2024-11-17 00:22:32 +01: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] Modified AsyncAppender queue size to 1024 by [@lflare].
- [2020-06-13] Bumped client version to 5 by [@lflare]. - [2020-06-13] Bumped client version to 5 by [@lflare].
- [2020-06-13] Modularized the image server [@carbotaniuman]. - [2020-06-13] Modularized the image server [@carbotaniuman].
- [2020-06-13] Suppressed log output for IOException [@carbotaniuman].
## [1.0.0-RC14] - 2020-06-12 ## [1.0.0-RC14] - 2020-06-12
### Fixed ### Fixed

View File

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

View File

@ -85,9 +85,12 @@ class Netty(private val tls: ServerSettings.TlsCert, private val clientSettings:
if (LOGGER.isTraceEnabled) { if (LOGGER.isTraceEnabled) {
LOGGER.trace("Ignored invalid SSL connection") 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) { if (LOGGER.isTraceEnabled) {
LOGGER.trace("User (downloader) closed the connection") LOGGER.trace("IOException in pipeline", cause)
} }
} else { } else {
ctx.fireExceptionCaught(cause) ctx.fireExceptionCaught(cause)