More logging for webapp deployment #923

Merged
telackey merged 12 commits from telackey/missing_app into main 2024-08-15 02:57:48 +00:00
Showing only changes of commit 71f0f717ad - Show all commits

View File

@ -402,12 +402,13 @@ def command( # noqa: C901
and previous_requests[r.id].get("status", "") != "RETRY"
):
main_logger.log(f"Skipping request {r.id}, we've already seen it.")
result = "SKIP"
continue
app = laconic.get_record(r.attributes.application)
if not app:
result = "ERROR"
main_logger.log(f"Skipping request {r.id}, cannot locate app.")
result = "ERROR"
continue
requested_name = r.attributes.dns