Browse Source

err check

Roy Han 9 months ago
parent
commit
97d9dffa80
1 changed files with 0 additions and 1 deletions
  1. 0 1
      server/routes.go

+ 0 - 1
server/routes.go

@@ -153,7 +153,6 @@ func runWhisperServer(c *gin.Context, portCh chan int) {
 		err := cmd.Process.Kill()
 		if err != nil {
 			slog.Error("failed to kill whisper server", "error", err)
-			c.AbortWithStatusJSON(http.StatusInternalServerError, gin.H{"error": "failed to kill whisper server"})
 		}
 	}()
 }