Additional logging of size

This commit is contained in:
Liam Steckler 2024-01-30 15:49:26 -08:00
parent ecd99aa055
commit 194f7c544f

2
scl.py
View file

@ -209,7 +209,7 @@ with Session(engine) as session:
except NoResultFound:
print("Existing record not found")
if not event_class["is_postable"]:
print("Outage is not considered postable, will not post")
print("Outage is {} considered postable, will not post".format(event_class["size"]))
continue
else:
# Fallback location from the SCL API in case one couldn't be reverse geocoded