Skip to content

Commit

Permalink
refactor: log what region failed
Browse files Browse the repository at this point in the history
  • Loading branch information
ooliver1 committed Aug 31, 2023
1 parent 8b4bd4a commit 46e1883
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mafic/strategy.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,9 @@ def location_strategy(
)

if not regional_nodes:
_log.error("No nodes found for the region, defaulting to all nodes.")
_log.error(
"No nodes found for the region: %r, defaulting to all nodes.", voice_region
)
return nodes

return regional_nodes
Expand Down

0 comments on commit 46e1883

Please sign in to comment.