summaryrefslogtreecommitdiff
path: root/monitor
diff options
context:
space:
mode:
Diffstat (limited to 'monitor')
-rwxr-xr-xmonitor/josef_monitor.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/monitor/josef_monitor.py b/monitor/josef_monitor.py
index 4f03c73..79d364f 100755
--- a/monitor/josef_monitor.py
+++ b/monitor/josef_monitor.py
@@ -25,7 +25,7 @@ else:
if not os.path.exists(OUTPUT_DIR):
os.makedirs(OUTPUT_DIR)
-
+
DB = None
parser = argparse.ArgumentParser(description="")
@@ -207,7 +207,10 @@ def verify_inclusion_all(old, new):
def check_domain(raw_entry, log=None):
orig_entry = extract_original_entry(raw_entry)
- cert_info = my_get_cert_info(orig_entry[0][0])
+ try:
+ cert_info = my_get_cert_info(orig_entry[0][0])
+ except IndexError:
+ pass
if log:
cert_info["log"] = log[8:-1] # strip generic URL stuff
return cert_info