well something like....
```
message = kwargs.get('message', False)
if not message:
    if isinstance(func, partial):
        message = "partial function (%s)" % func.func.func_name
    else:
        message = func.func_name
````