Namecoin error logging changes

- namecoin connection errors have now severity "info" instead of
  "error", because it just confuses peopel who don't have namecoin
- partially addresses #893
This commit is contained in:
Peter Šurda 2016-08-29 12:13:08 +08:00
parent 61a08299b8
commit 59dba6a7c7
Signed by untrusted user: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87
1 changed files with 3 additions and 3 deletions

View File

@ -158,7 +158,7 @@ class namecoinConnection (object):
assert False
except Exception:
logger.exception("Namecoin connection test failure")"Namecoin connection test failure")
return ('failed', "The connection to namecoin failed.")
# Helper routine that actually performs an JSON RPC call.
@ -208,9 +208,9 @@ class namecoinConnection (object):
if resp.status != 200:
raise Exception ("Namecoin returned status %i: %s", resp.status, resp.reason)
logger.error("HTTP receive error")"HTTP receive error")
logger.error("HTTP connection error", exc_info=True)"HTTP connection error")
return result