More logging for webapp deployment #923
@ -310,15 +310,14 @@ def command(ctx, kube_config, laconic_config, image_registry, deployment_parent_
|
||||
continue
|
||||
|
||||
if skip_by_tag(r, include_tags, exclude_tags):
|
||||
main_logger.log("Skipping request %s, filtered by tag (include %s, exclude %s, present %s)" % (r.id,
|
||||
include_tags,
|
||||
exclude_tags,
|
||||
r.attributes.tags))
|
||||
main_logger.log("Skipping request %s, filtered by tag (include %s, exclude %s, present %s)" %
|
||||
(r.id, include_tags, exclude_tags, r.attributes.tags))
|
||||
skipped_by_name[requested_name] = r
|
||||
result = "SKIP"
|
||||
continue
|
||||
|
||||
main_logger.log_file("Found pending request %s to run application %s on %s." % (r.id, r.attributes.application, requested_name))
|
||||
main_logger.log_file("Found pending request %s to run application %s on %s." %
|
||||
(r.id, r.attributes.application, requested_name))
|
||||
requests_by_name[requested_name] = r
|
||||
except Exception as e:
|
||||
result = "ERROR"
|
||||
@ -407,4 +406,5 @@ def command(ctx, kube_config, laconic_config, image_registry, deployment_parent_
|
||||
run_log_file.close()
|
||||
except Exception as e:
|
||||
main_logger.log("UNCAUGHT ERROR:" + str(e))
|
||||
raise e
|
||||
raise e
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user