<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def load_cfg(path, envvar_prefix='LIBREANT_', debug=False):
    '''wrapper of config_utils.load_configs'''
    try:
        return load_configs(envvar_prefix, path=path)
    except Exception as e:
        if debug:
            raise
        else:
            die(str(e))