Skip to content

Commit 1a0a8b5

Browse files
committed
raise QuantifyingException for failed category fetch instead of returning none
1 parent 5c48e52 commit 1a0a8b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/1-fetch/wikicommons_fetch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def fetch_category_totals(category, session):
133133
except Exception as e:
134134
message = f"Failed to fetch contents for {category}: {e}"
135135
LOGGER.error(message)
136-
raise shared.QuantifyingException(message, exit_code=1)
136+
raise shared.QuantifyingException(message)
137137

138138

139139
def recursive_collect_data(session, limit=None):

0 commit comments

Comments
 (0)