This commit is contained in:
Kovid Goyal 2016-08-06 09:01:58 +05:30
parent e54f13b2f0
commit c4d05d8a36

View File

@ -176,7 +176,7 @@ def run_file_dialog(
prints('stdout+stderr from file dialog helper:', type('')([h.stdoutdata, h.stderrdata])) prints('stdout+stderr from file dialog helper:', type('')([h.stdoutdata, h.stderrdata]))
if h.rc != 0: if h.rc != 0:
raise Exception('File dialog failed: ' + get_errors()) raise Exception('File dialog failed (return code %s): %s' % (h.rc, get_errors()))
server.join(2) server.join(2)
if server.is_alive(): if server.is_alive():
raise Exception('Timed out waiting for read from pipe to complete') raise Exception('Timed out waiting for read from pipe to complete')