Browse Source

(minor) don't raise BaseException

3.2.x
SomberNight 7 years ago
parent
commit
ae786cafdf
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 2
      lib/base_crash_reporter.py

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

Loading…
Cancel
Save