feat(scripts): 🐛 Make deploy.py output the yaml parsing errors.
This commit is contained in:
@@ -50,6 +50,7 @@ with open("./k8s/bot.yml") as stream:
|
||||
os.system(f"microk8s kubectl exec bot-{data["spec"]["replicas"] - 1} -- uv run aerich upgrade")
|
||||
except yaml.YAMLError as exc:
|
||||
print("Could not read the amount of deployed shards.")
|
||||
print(exc)
|
||||
|
||||
|
||||
print("Done!")
|
||||
|
||||
Reference in New Issue
Block a user