Skip to content

Commit 0261dbf

Browse files
authored
Don't fail completely if we throw on a table. (#56)
1 parent 33c34b1 commit 0261dbf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

partitionmanager/cli.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,8 @@ def do_partition(conf):
358358
f"Unable to automatically handle {table}: No empty "
359359
"partition is available."
360360
)
361+
except (ValueError, Exception) as e:
362+
log.warning("Failed to handle %s: %s", table, e)
361363

362364
if conf.prometheus_stats_path:
363365
do_stats(conf, metrics=metrics)

0 commit comments

Comments
 (0)