summaryrefslogtreecommitdiffstats
path: root/core/utils.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2024-12-10 18:43:09 +0000
committerPhilip Sargent <philip.sargent@gmail.com>2024-12-10 18:43:09 +0000
commit26eff0172bf19fd7958ff92dde818a360f3855af (patch)
tree54d7d0fcf8d33323147592d2f2a92b287f3a0c33 /core/utils.py
parentaa164e9d81c397e89c4d9e64e014e0b08e4e5a1d (diff)
downloadtroggle-26eff0172bf19fd7958ff92dde818a360f3855af.tar.gz
troggle-26eff0172bf19fd7958ff92dde818a360f3855af.tar.bz2
troggle-26eff0172bf19fd7958ff92dde818a360f3855af.zip
disambiguate error messages
Diffstat (limited to 'core/utils.py')
-rw-r--r--core/utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/utils.py b/core/utils.py
index 09e5309..07ecd51 100644
--- a/core/utils.py
+++ b/core/utils.py
@@ -284,9 +284,9 @@ def write_and_commit(files, message):
if cp_add.returncode != 0:
git_add_returncode = cp_add.returncode
msgdata = (
- "Ask a nerd to fix this.\n\n"
+ "Ask a nerd to fix this.\n\nstderr:\n"
+ cp_add.stderr
- + "\n\n"
+ + "\n\nstdout:\n"
+ cp_add.stdout
+ "\n\nreturn code: "
+ str(cp_add.returncode)