Skip to content

Commit

Permalink
Namecoin: Fix uncaught BestEffortRequestFailed
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyRand committed Mar 15, 2019
1 parent 23fb281 commit ae4f107
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions electrum_nmc/gui/qt/main_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -3468,6 +3468,10 @@ def check_name_availability(self):
except util.BitcoinException:
# This happens if the name identifier exceeded the 255-byte limit.
name_valid = False
except BestEffortRequestFailed:
msg = repr(e)
self.show_error(msg)
return

if not name_valid:
self.buy_names_available_widget.hide()
Expand Down

0 comments on commit ae4f107

Please sign in to comment.