Executable: make the timeout message readable (#46098)
This commit is contained in:
parent
fe8f631b7d
commit
b6ff126494
@ -275,9 +275,9 @@ def streamify(arg, mode):
|
||||
long_msg = cmd_line_string + f"\n{result}"
|
||||
if fail_on_error:
|
||||
raise ProcessTimeoutError(
|
||||
f"\nProcess timed out after {timeout}s"
|
||||
f"We expected the following command to run quickly but\
|
||||
it did not, please report this as an issue: {long_msg}",
|
||||
f"\nProcess timed out after {timeout}s. "
|
||||
"We expected the following command to run quickly but it did not, "
|
||||
f"please report this as an issue: {long_msg}",
|
||||
long_message=long_msg,
|
||||
) from te
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user