return None for failed resolve uri
This commit is contained in:
parent
c5699db30a
commit
b644125e93
1 changed files with 4 additions and 1 deletions
|
@ -1451,7 +1451,10 @@ class Daemon(AuthJSONRPCServer):
|
|||
}
|
||||
"""
|
||||
|
||||
resolved = yield self.session.wallet.resolve_uri(uri)
|
||||
try:
|
||||
resolved = yield self.session.wallet.resolve_uri(uri)
|
||||
except Exception:
|
||||
resolved = None
|
||||
results = yield self._render_response(resolved)
|
||||
defer.returnValue(results)
|
||||
|
||||
|
|
Loading…
Reference in a new issue