import re


def find_failing_lines(exception_message):
    """ Parse which line is failing and return the line numbers """
    failing_lines = []
    key = re.compile(br'\d+\:\d+', re.IGNORECASE)
    for line in exception_message.splitlines():
        numbers = key.findall(line)
        if numbers:
            idxs = re.findall(br'\d+', numbers[0])
            failing_lines.append(int(idxs[1]))
    return failing_lines