From ccc8aa87d0ae0ec7569938f6c55a9982c116e419 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sat, 23 Aug 2025 19:42:31 +0200 Subject: [PATCH] Improve presentation of failed command --- install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 88da87ce..ec84ea79 100755 --- a/install.sh +++ b/install.sh @@ -9,7 +9,9 @@ OMARCHY_INSTALL=~/.local/share/omarchy/install # Give people a chance to retry running the installation catch_errors() { echo -e "\n\e[31mOmarchy installation failed!\e[0m" - echo "The failing command was: \`$BASH_COMMAND\` (exit code: $?)" + echo + echo "This command caused it with exit code $?:" + echo "$BASH_COMMAND" echo echo "Get help from the community via QR code or at https://discord.gg/tXFUdasqhY" echo " "