Skip to content

Commit

Permalink
Less verbose on Ctrl-C
Browse files Browse the repository at this point in the history
  • Loading branch information
yorickdowne committed Nov 3, 2023
1 parent 1c0c360 commit 75eeb20
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wemd
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,9 @@ handle_error() {
echo "$__me terminated"
else
echo "$__me failed with error $exit_code on line $line_no"
echo
echo "Please save the logs and come to CryptoManufaktur Discord to troubleshoot this."
echo
fi
if [ -n "${__command}" ]; then
echo "This happened during $__me ${__command} ${__params}"
Expand All @@ -555,9 +558,6 @@ handle_error() {
echo "Restored your ${ENV_FILE} file, to undo partial migration. Please verify it looks correct."
echo "The partially migrated file is in ${ENV_FILE}.partial for troubleshooting."
fi
echo
echo "If this was an unexpected failure, please save the logs and come to CryptoManufaktur Discord to troubleshoot this."
echo
}


Expand Down

0 comments on commit 75eeb20

Please sign in to comment.