Skip to content

Commit

Permalink
Adding status as empty when exception is logged
Browse files Browse the repository at this point in the history
  • Loading branch information
ssadhu-sl committed Jan 23, 2025
1 parent 9130178 commit 6a36134
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions digital_land/collect.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ def save_resource(self, content, url, log):
except Exception as exception:
logging.warning(f"Failed to save data from '{url} ({exception})")
log["exception"] = type(exception).__name__
log["status"] = ""

return FetchStatus.FAILED

Expand Down

0 comments on commit 6a36134

Please sign in to comment.