Logging fix
This commit is contained in:
parent
bae7351849
commit
e76b10a6ed
|
@ -14,7 +14,7 @@ def constructObject(data):
|
||||||
try:
|
try:
|
||||||
classBase = eval(data[""] + "." + data[""].title())
|
classBase = eval(data[""] + "." + data[""].title())
|
||||||
except NameError:
|
except NameError:
|
||||||
print "Don't know how to handle message type: \"%s\"" % (data[""])
|
logger.error("Don't know how to handle message type: \"%s\"", data[""])
|
||||||
return None
|
return None
|
||||||
try:
|
try:
|
||||||
returnObj = classBase()
|
returnObj = classBase()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user