diff --git a/lbrynet/daemon/Daemon.py b/lbrynet/daemon/Daemon.py index 890e1c791..5bd82d914 100644 --- a/lbrynet/daemon/Daemon.py +++ b/lbrynet/daemon/Daemon.py @@ -1880,18 +1880,9 @@ class Daemon(AuthJSONRPCServer): if nout is None and txid is not None: raise Exception('Must specify nout') - try: - abandon_claim_tx = yield self.session.wallet.abandon_claim(claim_id, txid, nout) - self.analytics_manager.send_claim_action('abandon') - response = yield self._render_response(abandon_claim_tx) - except BaseException as err: - log.warning(err) - # pylint: disable=unsubscriptable-object - if len(err.args) and err.args[0] == "txid was not found in wallet": - raise Exception("This transaction was not found in your wallet") - else: - response = yield self._render_response(err) - defer.returnValue(response) + result = yield self.session.wallet.abandon_claim(claim_id, txid, nout) + self.analytics_manager.send_claim_action('abandon') + defer.returnValue(result) @AuthJSONRPCServer.auth_required @defer.inlineCallbacks