Fix logging in ChannelCommandDescriptionProvider (#4040)
The class of the the broken provider should be logged, not the class of the command description. Signed-off-by: Jan N. Klug <github@klug.nrw>pull/4049/head
parent
5cea59bfb1
commit
c82a9e69dc
|
@ -95,7 +95,7 @@ public class ChannelCommandDescriptionProvider implements CommandDescriptionProv
|
|||
if (dynamicCommandDescription == originalCommandDescription) {
|
||||
logger.error(
|
||||
"Dynamic command description matches original command description. DynamicCommandDescriptionProvider implementations must never return the original command description. {} has to be fixed.",
|
||||
dynamicCommandDescription.getClass());
|
||||
dynamicCommandDescriptionProvider.getClass());
|
||||
} else {
|
||||
return dynamicCommandDescription;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue