Bug 1838444 - mach should print the command that fails as it was typed and not use python's array syntax. r=sylvestre

Differential Revision: https://phabricator.services.mozilla.com/D180944
This commit is contained in:
Paul Adenot 2023-06-19 13:56:14 +00:00
parent 9b58b3e4c9
commit d2553e6eba

View file

@ -598,7 +598,7 @@ To see more help for a specific command, run:
def _print_error_header(self, argv, fh):
fh.write("Error running mach:\n\n")
fh.write(" ")
fh.write(repr(argv))
fh.write("mach " + " ".join(argv))
fh.write("\n\n")
def _print_exception(self, fh, exc_type, exc_value, stack, sentry_event_id=None):