Skip to content

Commit 7aa56b9

Browse files
committed
demote an expected KeyError message to debug-level
1 parent 4a969fe commit 7aa56b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/natcap/invest/spec_utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ def write_metadata_file(datasource_path, spec, lineage_statement):
630630
except KeyError as error:
631631
# fields that are in the spec but missing
632632
# from model results because they are conditional.
633-
LOGGER.warning(error)
633+
LOGGER.debug(error)
634634
if 'bands' in spec:
635635
for idx, value in spec['bands'].items():
636636
try:

0 commit comments

Comments
 (0)