From 26eff0172bf19fd7958ff92dde818a360f3855af Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Tue, 10 Dec 2024 18:43:09 +0000 Subject: [PATCH] disambiguate error messages --- core/utils.py | 4 ++-- 1 file 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)