Commit ef9c89f3 authored by Sam Rushing's avatar Sam Rushing

need to str(why) to LOG.

parent a3c3eb52
......@@ -311,7 +311,7 @@ class dns_cache:
else:
return reply
except OSError, why:
LOG ('error', 'OSError', why, ip, qname)
LOG ('error', 'OSError', str(why), ip, qname)
raise DNS_Soft_Error(qname, qtype, ip, str(why))
except EOFError:
# recv_exact will raise EOFError if it doesn't get enough data.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment