Skip to content

Commit ccadb69

Browse files
committed
correct logging of exception in diagnostics
1 parent 53b9fba commit ccadb69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

robotcode/language_server/common/parts/diagnostics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ async def _get_diagnostics_for_document(self, document: TextDocument, data: Diag
288288

289289
if isinstance(result_any, BaseException):
290290
if not isinstance(result_any, asyncio.CancelledError):
291-
self._logger.exception(result_any)
291+
self._logger.exception(result_any, exc_info=result_any)
292292
else:
293293
result = cast(DiagnosticsResult, result_any)
294294

0 commit comments

Comments
 (0)