Logging fix
This commit is contained in:
parent
bae7351849
commit
e76b10a6ed
|
@ -14,7 +14,7 @@ def constructObject(data):
|
|||
try:
|
||||
classBase = eval(data[""] + "." + data[""].title())
|
||||
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
|
||||
try:
|
||||
returnObj = classBase()
|
||||
|
|
Reference in New Issue
Block a user