We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4de3b9b commit 5d55e78Copy full SHA for 5d55e78
common/src/main/kotlin/com/lambda/config/Configuration.kt
@@ -92,9 +92,7 @@ abstract class Configuration : Jsonable {
92
this@Configuration.info(message)
93
}
94
.onFailure {
95
- var message = "Failed to load ${configName.capitalize()} config, loading backup"
96
- LOG.error(message, it)
97
- this@Configuration.logError(message)
+ var message: String
98
runCatching { load(backup) }
99
.onSuccess {
100
message = "${configName.capitalize()} config loaded from backup"
0 commit comments