-
Bug
-
Resolution: Fixed
-
Neutral
-
2.3.4
-
-
Empty show more show less
-
Maintenance 24
-
0.5
When an exception occurs in the class CommandJob then eventually it should log the command and catalog.
Current Output
Cannot execute command {0}-{1}.
Expected Output
Cannot execute command website-publish
Solution
Combine
String errorMessage = String.format("Cannot execute command {0}-{1}.", cmdName, catalogName); log.error(errorMessage, e);
into
log.error("Cannot execute command {}-{}", cmdName, catalogName, e);
Acceptance criteria