Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.

Commit

Permalink
log html when failed to start
Browse files Browse the repository at this point in the history
  • Loading branch information
linweiyuan committed Sep 24, 2023
1 parent 0027c91 commit 5d567de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/chatgpt/health_check.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ func checkHealthCheckStatus(resp *http.Response) {
logger.Error(errorHintBlock)
} else {
logger.Error(errorHintFailedToStart)
logger.Warn(doc.Text())
}
time.Sleep(time.Hour * sleepHours)
os.Exit(1)
Expand Down

0 comments on commit 5d567de

Please sign in to comment.