from config.db_config import DatabaseConnectionError, get_db_connection as shared_get_db_connection


def get_db_connection():
    try:
        return shared_get_db_connection()
    except DatabaseConnectionError as e:
        print("DB ERROR:", e)
        return None
