add exception handling to get_output & get_text_output
add exception handling to get_output & get_text_output

escapewindow/python-scriptharness,escapewindow/python-scriptharness,scriptharness/python-scriptharness,scriptharness/python-scriptharness