Skip to content

Commit

Permalink
Don't fail completely if we throw on a table. (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcjones authored May 31, 2022
1 parent 33c34b1 commit 0261dbf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions partitionmanager/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,8 @@ def do_partition(conf):
f"Unable to automatically handle {table}: No empty "
"partition is available."
)
except (ValueError, Exception) as e:
log.warning("Failed to handle %s: %s", table, e)

if conf.prometheus_stats_path:
do_stats(conf, metrics=metrics)
Expand Down

0 comments on commit 0261dbf

Please sign in to comment.