2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-12-12 03:22:18 +00:00

disambiguate error messages

This commit is contained in:
Philip Sargent 2024-12-10 18:43:09 +00:00
parent aa164e9d81
commit 26eff0172b

View File

@ -284,9 +284,9 @@ def write_and_commit(files, message):
if cp_add.returncode != 0: if cp_add.returncode != 0:
git_add_returncode = cp_add.returncode git_add_returncode = cp_add.returncode
msgdata = ( msgdata = (
"Ask a nerd to fix this.\n\n" "Ask a nerd to fix this.\n\nstderr:\n"
+ cp_add.stderr + cp_add.stderr
+ "\n\n" + "\n\nstdout:\n"
+ cp_add.stdout + cp_add.stdout
+ "\n\nreturn code: " + "\n\nreturn code: "
+ str(cp_add.returncode) + str(cp_add.returncode)