Add debug to failure

This commit is contained in:
David Heinemeier Hansson 2025-08-19 18:49:16 +02:00
parent a1cd10c0a2
commit 8e4baa6cd1

View File

@ -22,6 +22,7 @@ chrootable_systemctl_enable() {
# Give people a chance to retry running the installation # Give people a chance to retry running the installation
catch_errors() { catch_errors() {
echo -e "\n\e[31mOmarchy installation failed!\e[0m" echo -e "\n\e[31mOmarchy installation failed!\e[0m"
echo "The failing command was: \`$BASH_COMMAND\` (exit code: $?)"
echo "You can retry by running: bash ~/.local/share/omarchy/install.sh" echo "You can retry by running: bash ~/.local/share/omarchy/install.sh"
echo "Get help from the community: https://discord.gg/tXFUdasqhY" echo "Get help from the community: https://discord.gg/tXFUdasqhY"
} }