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:
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue