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}"
|
long_msg = cmd_line_string + f"\n{result}"
|
||||||
if fail_on_error:
|
if fail_on_error:
|
||||||
raise ProcessTimeoutError(
|
raise ProcessTimeoutError(
|
||||||
f"\nProcess timed out after {timeout}s"
|
f"\nProcess timed out after {timeout}s. "
|
||||||
f"We expected the following command to run quickly but\
|
"We expected the following command to run quickly but it did not, "
|
||||||
it did not, please report this as an issue: {long_msg}",
|
f"please report this as an issue: {long_msg}",
|
||||||
long_message=long_msg,
|
long_message=long_msg,
|
||||||
) from te
|
) from te
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user