Skip to content

Commit 94d2e99

Browse files
committed
remove double logging of errors
1 parent 021e4c4 commit 94d2e99

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

scripts/1-fetch/github_fetch.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,13 +150,10 @@ def query_github(args, session):
150150
)
151151
LOGGER.info(f"count: {count}")
152152
except requests.HTTPError as e:
153-
LOGGER.error(f"HTTP Error: {e}")
154153
raise shared.QuantifyingException(f"HTTP Error: {e}", 1)
155154
except requests.RequestException as e:
156-
LOGGER.error(f"Request Exception: {e}")
157155
raise shared.QuantifyingException(f"Request Exception: {e}", 1)
158156
except KeyError as e:
159-
LOGGER.error(f"KeyError: {e}.")
160157
raise shared.QuantifyingException(f"KeyError: {e}", 1)
161158
return tool_data
162159

0 commit comments

Comments
 (0)