return None for failed resolve uri

This commit is contained in:
Jack Robison 2017-04-10 21:32:41 -04:00
parent c5699db30a
commit b644125e93

View file

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