mirror of
https://github.com/LBRYFoundation/lbry-sdk.git
synced 2025-08-30 08:51:27 +00:00
return fail from check_first_run when is_first_run isn't callable
This commit is contained in:
parent
08e25f4622
commit
162275992b
1 changed files with 1 additions and 1 deletions
|
@ -849,7 +849,7 @@ class LBRYDaemon(jsonrpc.JSONRPC):
|
||||||
except:
|
except:
|
||||||
d = defer.fail(None)
|
d = defer.fail(None)
|
||||||
|
|
||||||
d.addCallbacks(lambda r: self._render_response(r, OK_CODE), lambda _: self._render_response("Loading", OK_CODE))
|
d.addCallbacks(lambda r: self._render_response(r, OK_CODE), lambda _: server.failure)
|
||||||
|
|
||||||
return d
|
return d
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue