mirror of
https://github.com/tcsenpai/ollama.git
synced 2025-06-07 11:45:21 +00:00
err check
This commit is contained in:
parent
65483180b9
commit
97d9dffa80
@ -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"})
|
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user