<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _get_current_names(current, dsn, pc):
 """ Get the table name and variable name from the given time series entry :param dict current: Time series entry :param str pc: paleoData or chronData :return str _table_name: :return str _variable_name: """

    _table_name = ""
    _variable_name = ""
    # Get key info
    try:
        _table_name = current['{}_tableName'.format(pc)]
        _variable_name = current['{}_variableName'.format(pc)]
    except Exception as e:
        print("Error: Unable to collapse time series: {}, {}".format(dsn, e))
        logger_ts.error("get_current: {}, {}".format(dsn, e))
    return _table_name, _variable_name