Skip to content

Commit

Permalink
fix(docgen): fix failure count incrementing during doc generation
Browse files Browse the repository at this point in the history
  • Loading branch information
shirshanka committed May 3, 2022
1 parent 3ff53b4 commit f9f3297
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metadata-ingestion/scripts/docgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ def generate(

except Exception as e:
print(f"Failed to process {plugin_name} due to {e}")
metrics["plugins"]["failed"] = metrics["plugins"].get["failed"] + 1
metrics["plugins"]["failed"] = metrics["plugins"]["failed"] + 1

if source_type and hasattr(source_type, "get_config_class"):
try:
Expand Down

0 comments on commit f9f3297

Please sign in to comment.