err check

This commit is contained in:
Roy Han 2024-08-02 16:57:34 -07:00
parent 65483180b9
commit 97d9dffa80

View File

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