Skip to content

Commit

Permalink
Exit with error code if environment activation fails
Browse files Browse the repository at this point in the history
  • Loading branch information
andersy005 committed Jan 16, 2025
1 parent acb82c1 commit 50e5948
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jupyter_forward/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ def _conda_activate_cmd(self):
console.print(
'[bold red]:x: Could not activate environment. Ensure Conda or Mamba is installed.'
)
return None
sys.exit(1)

def _parse_log_file(self):
# wait for logfile to contain access info, then write it to screen
Expand Down

0 comments on commit 50e5948

Please sign in to comment.