summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/keuin/crosslink/plugin/common/PluginMain.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/main/java/com/keuin/crosslink/plugin/common/PluginMain.java b/src/main/java/com/keuin/crosslink/plugin/common/PluginMain.java
index a556f92..bdaf31d 100644
--- a/src/main/java/com/keuin/crosslink/plugin/common/PluginMain.java
+++ b/src/main/java/com/keuin/crosslink/plugin/common/PluginMain.java
@@ -71,7 +71,7 @@ public final class PluginMain {
logger.debug("Loading rule chain.");
var rc = new RouterConfigurer(routing);
rc.configure(messageRouter); // update routing table, clear endpoints
- logger.debug("Message router is configured successfully.");
+ logger.debug("Finish configuring message router.");
} catch (JsonProcessingException | ConfigSyntaxError ex) {
logger.error("Failed to load routing config.", ex);
throw new RuntimeException(ex);
@@ -126,13 +126,11 @@ public final class PluginMain {
logger.error("Failed to start API server", ex);
throw new RuntimeException(ex);
}
-
- logger.info("Finish initializing.");
}
public void enable() {
// TODO refactor setup and teardown routine, split into hooks
- logger.info("Loading config from disk...");
+ logger.info("Loading config from disk.");
try {
GlobalConfigManager.initializeGlobalManager(environment.pluginDataPath().toFile());
} catch (ConfigLoadException | IOException ex) {