Skip to content

Commit

Permalink
docs(#159): adjust bug report note
Browse files Browse the repository at this point in the history
  • Loading branch information
jannis-baum committed Aug 19, 2024
1 parent f918f38 commit fcc1b64
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions viv
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,18 @@ options:
EOF
}

print_bug_report() {
cat <<EOF
Fatal: vivify-server crashed. Please use the link below to submit a bug report.
The bug report template will help you provide the necessary information and
maybe even find a solution yourself.
https://github.com/jannis-baum/Vivify/issues/new?labels=type%3Abug&template=bug-report.md
EOF
}

if [ "$#" -lt 1 -o "$1" = "-h" -o "$1" = "--help" ]; then
print_usage
exit 1
Expand All @@ -39,10 +51,7 @@ monitor_server() {
grep --quiet "STARTUP COMPLETE" "$output" && exit 0

# if not, the startup failed
echo "Fatal: vivify-server crashed. Please use the link below to submit a bug report."
echo ""
echo "https://github.com/jannis-baum/Vivify/issues/new?labels=type%3Abug&template=bug-report.md"
echo ""
print_bug_report
# kill tail from while loop below
pkill -P $$ tail
exit 1
Expand Down

0 comments on commit fcc1b64

Please sign in to comment.