DBZ-178: Correcting error where error message is only logged in success scenarios in EmbeddedEngine
This commit is contained in:
parent
49e6231b69
commit
29a7043fe3
@ -464,7 +464,7 @@ private EmbeddedEngine(Configuration config, ClassLoader classLoader, Clock cloc
|
||||
this.classLoader = classLoader;
|
||||
this.clock = clock;
|
||||
this.completionCallback = completionCallback != null ? completionCallback : (success, msg, error) -> {
|
||||
if (success) logger.error(msg, error);
|
||||
if (!success) logger.error(msg, error);
|
||||
};
|
||||
this.connectorCallback = connectorCallback;
|
||||
this.completionResult = new CompletionResult();
|
||||
|
Loading…
Reference in New Issue
Block a user