From cec034e811b1e8653d4bef89d8a705de83f76573 Mon Sep 17 00:00:00 2001 From: NotoriousRebel Date: Tue, 1 Jan 2019 21:40:36 -0500 Subject: [PATCH] Minor cosmetic fix to notify when user encounters Exception. --- discovery/duckduckgosearch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discovery/duckduckgosearch.py b/discovery/duckduckgosearch.py index 574cea1f..e49cf6c4 100644 --- a/discovery/duckduckgosearch.py +++ b/discovery/duckduckgosearch.py @@ -69,7 +69,7 @@ def crawl(self, text): tmp.add(url) return tmp except Exception as e: - print(e) + print('Exception occurred: ' + str(e)) return [] def get_emails(self):