diff options
| author | josef <josef.gson@gmail.com> | 2015-11-10 12:57:53 +0100 |
|---|---|---|
| committer | josef <josef.gson@gmail.com> | 2015-11-10 12:57:53 +0100 |
| commit | 99306083f68513cd04e3d1634ad7eb71b5733132 (patch) | |
| tree | 2ce837e38fdc80ee6d62f0d224293ce72b5c596b /monitor/josef_lib.py | |
| parent | 6885ec5ce5c478cd7e607bbe283554eddb536158 (diff) | |
debugging
Diffstat (limited to 'monitor/josef_lib.py')
| -rw-r--r-- | monitor/josef_lib.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/monitor/josef_lib.py b/monitor/josef_lib.py index 46a0eee..745ae3e 100644 --- a/monitor/josef_lib.py +++ b/monitor/josef_lib.py @@ -110,6 +110,10 @@ def check_domain_extended(raw_entry, log=None): orig_entry = extract_original_entry(raw_entry) try: cert_info = my_get_more_cert_info(orig_entry[0][0]) + except: + print "Error in my_get_more_cert_info" + return None + try: # print len(orig_entry[0]) cert_info["chain_length"] = str(len(orig_entry[0])) cert_info["validation"] = get_validation_type(cert_info["policy"]) @@ -119,6 +123,7 @@ def check_domain_extended(raw_entry, log=None): cert_info["log"] = log[8:-1] # strip generic URL stuff return cert_info except IndexError: + print "Error while setting additional parameters" return None def check_domain_all(raw_entry, log=None): |
