better err mesg
This commit is contained in:
parent
77da61c44b
commit
fa9b9233d1
1 changed files with 2 additions and 2 deletions
|
@ -331,8 +331,8 @@ class AuthJSONRPCServer(AuthorizedBase):
|
||||||
request, id_
|
request, id_
|
||||||
)
|
)
|
||||||
return server.NOT_DONE_YET
|
return server.NOT_DONE_YET
|
||||||
except NotAllowedDuringStartupError as err:
|
except NotAllowedDuringStartupError:
|
||||||
log.warning('Function not allowed during startup %s: %s', function_name, err)
|
log.warning('Function not allowed during startup: %s', function_name)
|
||||||
self._render_error(
|
self._render_error(
|
||||||
JSONRPCError("This method is unavailable until the daemon is fully started",
|
JSONRPCError("This method is unavailable until the daemon is fully started",
|
||||||
code=JSONRPCError.CODE_INVALID_REQUEST),
|
code=JSONRPCError.CODE_INVALID_REQUEST),
|
||||||
|
|
Loading…
Reference in a new issue