Skip to content

Commit

Permalink
Fix QC typo and don't double print exception
Browse files Browse the repository at this point in the history
  • Loading branch information
benjwadams authored Dec 24, 2024
1 parent 7f9f71c commit b641011
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions glider_qc/glider_qc.py
Original file line number Diff line number Diff line change
Expand Up @@ -769,8 +769,8 @@ def run_qc(config, ncfile, nc_path):
qartod_var.setncattr('qartod_config', json.dumps(testconfig))

except Exception as e:
apply_qc_err = "apply_qc faild: could not calculate qc flags."
log.exception(f"{apply_qc_err}: {str(e)}")
apply_qc_err = "apply_qc failed: could not calculate QC flags."
log.exception(f"{apply_qc_err}: ")
report_list.append(f"{apply_qc_err}: {str(e)}")
continu
# log issues qc
Expand Down

0 comments on commit b641011

Please sign in to comment.