'Go to error if relevant'

def go_to_error(self, text):

    match = get_error_match(to_text_string(text))
    if match:
        (fname, lnb) = match.groups()
        self.edit_goto.emit(osp.abspath(fname), int(lnb), '')
