mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
improve logging for the CallCommand.java
GitOrigin-RevId: 0438066c9861ddf9c948b3dabc6cd6e51597824b
This commit is contained in:
committed by
intellij-monorepo-bot
parent
3564675e9c
commit
9a386addfa
+4
-1
@@ -3,6 +3,7 @@ package com.intellij.openapi.ui.playback.commands;
|
||||
|
||||
import com.intellij.openapi.ui.playback.PlaybackContext;
|
||||
import com.intellij.openapi.util.Pair;
|
||||
import com.intellij.openapi.util.text.StringUtil;
|
||||
import org.jetbrains.concurrency.AsyncPromise;
|
||||
import org.jetbrains.concurrency.Promise;
|
||||
import org.jetbrains.concurrency.Promises;
|
||||
@@ -51,7 +52,9 @@ public class CallCommand extends AbstractCommand {
|
||||
try {
|
||||
Pair<Method, Class> methodClass = findMethod(context, methodName, types);
|
||||
if (methodClass == null) {
|
||||
context.error("No method \"" + methodName + "\" found in facade classes: " + context.getCallClasses(), getLine());
|
||||
context.error("No method \"" + methodName + "\" with parameters ["
|
||||
+ StringUtil.join(types, type -> type.getName(), ", ")
|
||||
+ "] found in facade classes: " + context.getCallClasses(), getLine());
|
||||
return Promises.rejectedPromise();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user