Skip to content

Commit

Permalink
Broaden the try-except in vscode loop
Browse files Browse the repository at this point in the history
Signed-off-by: Fabrice Normandin <[email protected]>
  • Loading branch information
lebrice committed Jun 3, 2024
1 parent 4feafe0 commit 414b3de
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion milatools/cli/code.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,4 +190,6 @@ async def launch_vscode_loop(code_command: str, compute_node: ComputeNode, path:
break
except asyncio.CancelledError:
raise
# return
except Exception as exc:
logger.error(f"Error while waiting for user input: {exc}")
break

0 comments on commit 414b3de

Please sign in to comment.