diff --git a/core/views/wallets_edit.py b/core/views/wallets_edit.py index 67aab15..5bf0032 100644 --- a/core/views/wallets_edit.py +++ b/core/views/wallets_edit.py @@ -442,6 +442,7 @@ def walletedit(request, path=None): print(message) return render(request, "errors/generic.html", {"message": message}) else: + if socket.gethostname() != "expo": comment = f"on dev machine '{socket.gethostname()}' " else: @@ -463,9 +464,9 @@ def walletedit(request, path=None): # This produces return code = 1 if it commits OK if dr_commit.returncode != 0: msgdata = ( - "Ask a nerd to fix this.\n\n" + "Ask a nerd to fix this.\n\nstderr: " + dr_commit.stderr - + "\n\n" + + "\n\nstdout: " + dr_commit.stdout + "\n\nreturn code: " + str(dr_commit.returncode)