mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
(minor) don't raise BaseException
This commit is contained in:
parent
61a9deaa61
commit
ae786cafdf
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ class BaseCrashReporter(object):
|
||||||
def send_report(self, endpoint="/crash"):
|
def send_report(self, endpoint="/crash"):
|
||||||
if constants.net.GENESIS[-4:] not in ["4943", "e26f"] and ".electrum.org" in BaseCrashReporter.report_server:
|
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.
|
# 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 = self.get_traceback_info()
|
||||||
report.update(self.get_additional_info())
|
report.update(self.get_additional_info())
|
||||||
report = json.dumps(report)
|
report = json.dumps(report)
|
||||||
|
|
Loading…
Add table
Reference in a new issue