Skip to content

Commit ea476f4

Browse files
committed
Reduce log pollution of failed Metadata fetch
1 parent da4cefb commit ea476f4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • community/modules/scheduler/schedmd-slurm-gcp-v6-controller/modules/slurm_files/scripts

community/modules/scheduler/schedmd-slurm-gcp-v6-controller/modules/slurm_files/scripts/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1176,7 +1176,7 @@ def get_metadata(path, root=ROOT_URL):
11761176
resp.raise_for_status()
11771177
return resp.text
11781178
except requests_lib.exceptions.HTTPError:
1179-
log.exception(f"metadata not found ({url})")
1179+
log.warn(f"metadata not found ({url})")
11801180
raise MetadataNotFoundError(f"failed to get_metadata from {url}")
11811181

11821182

0 commit comments

Comments
 (0)