Skip to content

Commit

Permalink
fixup! 0ae096e
Browse files Browse the repository at this point in the history
Co-authored-by: Aarni Koskela <[email protected]>
  • Loading branch information
ruksi and akx authored Jun 1, 2022
1 parent f327d0b commit b1ffe3e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions valohai/distributed.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ def is_distributed_task(self) -> bool:
return bool(self.config.group_name)
except (FileNotFoundError, json.JSONDecodeError):
return False
except Exception as exc:
warnings.warn(f"Failed to parse distributed config: {exc}")
return False

@property
def group_name(self) -> str:
Expand Down

0 comments on commit b1ffe3e

Please sign in to comment.