Skip to content

Commit

Permalink
error logging fix
Browse files Browse the repository at this point in the history
  • Loading branch information
supertick committed Jan 24, 2024
1 parent dd08788 commit 4b6902d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/org/myrobotlab/service/Runtime.java
Original file line number Diff line number Diff line change
Expand Up @@ -4834,9 +4834,9 @@ public <C extends ServiceConfig> C readServiceConfig(String configName, String n
try {
sc = CodecUtils.readServiceConfig(filename, configType);
} catch (ConstructorException e) {
error("%s invalid %s %s. Please remove it from the file.", name, filename, e.getCause().getMessage());
} catch (IOException e) {
error(e);
error("config %s invalid %s %s. Please remove it from the file.", name, filename, e.getCause().getMessage());
} catch (Exception e) {
error("config could not load %s file is invalid", filename);
}
}
return sc;
Expand Down

0 comments on commit 4b6902d

Please sign in to comment.