Merge pull request #352 from lbryio/fixup-logging

change error log on resolve-name to info
This commit is contained in:
Job Evers‐Meltzer 2016-12-16 20:00:37 -06:00 committed by GitHub
commit 7bb570c051

View file

@ -1481,8 +1481,9 @@ class Daemon(AuthJSONRPCServer):
# '.../site-packages/twisted/python/failure.pyc'>
#
# If so, maybe we should return something else.
errback=log.fail(lambda: server.failure),
errbackArgs=('Failed to resolve name: %s',)
errback=log.fail(lambda err: server.failure),
errbackArgs=('Failed to resolve name',),
errbackKeywords={'level':'INFO'},
)
return d