Skip to content

Commit

Permalink
Warning instead of error
Browse files Browse the repository at this point in the history
  • Loading branch information
d-krupke committed May 28, 2024
1 parent 89d2389 commit 50c506e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/slurminade/function_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ def check_id(func_id: str, entry_point: Path) -> bool:
# This can help detect some bugs early on.
FunctionMap._ids = call_slurminade_to_get_function_ids(entry_point)
except Exception as e:
logging.getLogger("slurminade").error(
"Cannot verify function ids before submitting to slurm: %s", e
logging.getLogger("slurminade").warning(
"Cannot verify function ids before submitting to slurm: %s. This is not critical, things will just be more difficult to debug in case you make an error.", e
)
FunctionMap._ids = None
return True
Expand Down

0 comments on commit 50c506e

Please sign in to comment.