commit ae786cafdfa78676a3e87752c64df1edbb2fae78
parent 61a9deaa610fecbacd3b37501faba59a7e60d163
Author: SomberNight <somber.night@protonmail.com>
Date: Wed, 20 Jun 2018 18:13:43 +0200
(minor) don't raise BaseException
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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)