chubin/cheat.sh · error · RuntimeError

%s

Error message

%s

What it means

Error "%s" thrown in chubin/cheat.sh.

Source

Thrown at lib/globals.py:30

def fatal(text):
    """
    Fatal error function.

    The function is being used in the standalone mode only
    """
    sys.stderr.write("ERROR: %s\n" % text)
    sys.exit(1)


def error(text):
    """
    Log error `text` and produce a RuntimeError exception
    """
    if not text.startswith("Too many queries"):
        print(text)
    logging.error("ERROR %s", text)
    raise RuntimeError(text)


def log(text):
    """
    Log error `text` (if it does not start with 'Too many queries')
    """
    if not text.startswith("Too many queries"):
        print(text)
        logging.info(text)

View on GitHub (pinned to 031a5d3887)

When it happens

Trigger: Thrown at lib/globals.py:30 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of chubin/cheat.sh@031a5d3887 (2026-08-26). Data as JSON: /api/errors/ecc6a7e6c7c099ae. Report an issue: GitHub.