Skip to content

Commit

Permalink
Better logging on hashable_lru_cache
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianchifor committed Jun 8, 2018
1 parent 462e99e commit ad64315
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kapitan/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ def deserialise(value):
try:
return json.loads(value)
except Exception:
logger.debug("hashable_lru_cache: %s not serialiseable, using generic lru_cache instead", value)
return value

def func_with_serialized_params(*args, **kwargs):
Expand Down

0 comments on commit ad64315

Please sign in to comment.