From ae786cafdfa78676a3e87752c64df1edbb2fae78 Mon Sep 17 00:00:00 2001 From: SomberNight Date: Wed, 20 Jun 2018 18:13:43 +0200 Subject: [PATCH] (minor) don't raise BaseException --- lib/base_crash_reporter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/base_crash_reporter.py b/lib/base_crash_reporter.py index 195692a27..fc30faf38 100644 --- a/lib/base_crash_reporter.py +++ b/lib/base_crash_reporter.py @@ -61,7 +61,7 @@ class BaseCrashReporter(object): def send_report(self, endpoint="/crash"): if constants.net.GENESIS[-4:] not in ["4943", "e26f"] and ".electrum.org" in BaseCrashReporter.report_server: # Gah! Some kind of altcoin wants to send us crash reports. - raise BaseException(_("Missing report URL.")) + raise Exception(_("Missing report URL.")) report = self.get_traceback_info() report.update(self.get_additional_info()) report = json.dumps(report)