Commit 7d81b1b9 by Őry Máté

common: use less error-prone log parameter

parent 038d5248
......@@ -229,8 +229,8 @@ def compute_cached(method, instance, memcached_seconds,
except AttributeError:
method = method.fget
except AttributeError:
logger.exception("Couldnt get original method of %s.%s",
unicode(instance), method.__name__)
logger.exception("Couldnt get original method of %s",
unicode(method))
raise
# call the actual method
......
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 sign in to comment