Skip to content

Commit 43440d8

Browse files
committed
fix(debugger): print the result of an keyword in debugger also if it has a variable assignment
1 parent b0e6135 commit 43440d8

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1510,12 +1510,10 @@ def run_kw() -> Any:
15101510
with LOGGER.delayed_logging:
15111511
try:
15121512
result = kw.run(evaluate_context)
1513-
if kw.assign:
1514-
result = None
15151513
except (SystemExit, KeyboardInterrupt):
15161514
raise
1517-
except BaseException:
1518-
result = None
1515+
except BaseException as e:
1516+
result = e
15191517
break
15201518
finally:
15211519
messages = LOGGER._log_message_cache or []

0 commit comments

Comments
 (0)