mirror of
https://gitlab.com/mangadex-pub/mangadex_at_home.git
synced 2024-01-19 02:48:37 +00:00
Format
This commit is contained in:
parent
af73354d4f
commit
89d9a9386f
|
@ -39,7 +39,6 @@ import mdnet.cache.HeaderMismatchException
|
||||||
import org.http4k.server.Http4kServer
|
import org.http4k.server.Http4kServer
|
||||||
import org.jetbrains.exposed.sql.Database
|
import org.jetbrains.exposed.sql.Database
|
||||||
import org.slf4j.LoggerFactory
|
import org.slf4j.LoggerFactory
|
||||||
import java.util.concurrent.atomic.AtomicBoolean
|
|
||||||
|
|
||||||
// Exception class to handle when Client Settings have invalid values
|
// Exception class to handle when Client Settings have invalid values
|
||||||
class ClientSettingsException(message: String) : Exception(message)
|
class ClientSettingsException(message: String) : Exception(message)
|
||||||
|
@ -189,7 +188,7 @@ class MangaDexClient(private val settingsFile: File, databaseFile: File, cacheFo
|
||||||
|
|
||||||
if (stopWebUi) {
|
if (stopWebUi) {
|
||||||
LOGGER.info { "Stopping WebUI to reload ClientSettings" }
|
LOGGER.info { "Stopping WebUI to reload ClientSettings" }
|
||||||
if(webUi != null) {
|
if (webUi != null) {
|
||||||
stopWebUi()
|
stopWebUi()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue