Skip to content

Commit 504e091

Browse files
committed
fix(debugger): don't show a message on unsupported rpc commands
1 parent 4d2cdae commit 504e091

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/debugger/src/robotcode/debugger/protocol.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -223,9 +223,9 @@ async def handle_unknown_command(self, message: Request) -> Any:
223223
raise DebugAdapterRPCErrorException(
224224
f"Unknown Command '{message.command}'",
225225
error_message=Message(
226-
format='Unknown command "{command}"',
227-
variables={"command": str(message.command)},
228-
show_user=True,
226+
format='Unknown command "{command}": {request}',
227+
variables={"command": str(message.command), "request": str(message)},
228+
show_user=False,
229229
),
230230
)
231231

0 commit comments

Comments
 (0)