Skip to content

Commit

Permalink
[AbuseIPDB] Add more accurate logs when issue occurring outside the m…
Browse files Browse the repository at this point in the history
…ain process (#3326)
  • Loading branch information
helene-nguyen authored Jan 22, 2025
1 parent 5690bd2 commit 5c970a0
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions internal-enrichment/abuseipdb/src/abuseipdb.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import os
import traceback
from collections import defaultdict
from typing import Dict

Expand Down Expand Up @@ -193,5 +194,9 @@ def start(self):


if __name__ == "__main__":
abuseIPDBInstance = AbuseIPDBConnector()
abuseIPDBInstance.start()
try:
abuseIPDBInstance = AbuseIPDBConnector()
abuseIPDBInstance.start()
except Exception:
traceback.print_exc()
exit(1)

0 comments on commit 5c970a0

Please sign in to comment.