(minor) don't raise BaseException

This commit is contained in:
SomberNight 2018-06-20 18:13:43 +02:00
parent 61a9deaa61
commit ae786cafdf
No known key found for this signature in database
GPG key ID: B33B5F232C6271E9

View file

@ -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)