t(minor) don't raise BaseException - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit ae786cafdfa78676a3e87752c64df1edbb2fae78
DIR parent 61a9deaa610fecbacd3b37501faba59a7e60d163
HTML Author: SomberNight <somber.night@protonmail.com>
Date: Wed, 20 Jun 2018 18:13:43 +0200
(minor) don't raise BaseException
Diffstat:
M lib/base_crash_reporter.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/lib/base_crash_reporter.py b/lib/base_crash_reporter.py
t@@ -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)