Fixed missing value for logging
This commit is contained in:
parent
7d0528572f
commit
0760cf418f
@ -131,10 +131,11 @@ class MessageHandlerThread(threading.Thread):
|
||||
logger.info("Cache hit for %s", data_value)
|
||||
result = cache_result
|
||||
else:
|
||||
logger.info("Not in cache: %s", data_value)
|
||||
logger.info("Searching in sources for information about %s", data_value)
|
||||
result = self.perform_action(title=data_value)
|
||||
if (result.statusType == "SUCCESS"):
|
||||
logger.info("Storing response for %s in in-memory cache")
|
||||
logger.info("Storing response for %s in in-memory cache", data_value)
|
||||
ResultCache.add(data_value, result)
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user