Skip to content

Commit

Permalink
cable-guy: make load() return False on errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Williangalvani authored and patrickelectric committed Feb 12, 2025
1 parent c8bac51 commit 20fcd9d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/services/cable_guy/api/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ def load(self) -> bool:
except Exception as exception:
logger.warning(f"Failed to fetch data from file ({self.settings_file}): {exception}")
logger.warning(data)
return False

return True

Expand Down

0 comments on commit 20fcd9d

Please sign in to comment.