Skip to content

Commit

Permalink
Just warn if no condor config (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
nsmith- authored Dec 18, 2024
1 parent eeb7768 commit eb21e66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lpcjobqueue/schedd.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

logger = logging.getLogger(__name__)
if "CONDOR_CONFIG" not in os.environ or not os.path.isfile(os.environ["CONDOR_CONFIG"]):
raise RuntimeError(
logger.warn(
f"Condor configuration {os.environ.get('CONDOR_CONFIG', '')} not found!\n"
"Please download and run bootstrap.sh again to update the shell with:\n"
"curl -OL https://raw.githubusercontent.com/CoffeaTeam/lpcjobqueue/main/bootstrap.sh; bash bootstrap.sh"
Expand Down

0 comments on commit eb21e66

Please sign in to comment.