@wraps(f)
def wrapped_func(*args, **kwargs):
    try:
        return f(*args, **kwargs)
    except Exception as e:
        lgr.warning(('DataLad internal failure while running %s: %r. Please report at https://github.com/datalad/datalad/issues' % (f, e)))
@wraps(f)
def wrapped_func(*args, **kwargs):
    try:
        return f(*args, **kwargs)
    except Exception as e:
        lgr.warning(('DataLad internal failure while running %s: %r. Please report at https://github.com/datalad/datalad/issues' % (f, e)))