Browse Source

err check

Roy Han 9 tháng trước cách đây
mục cha
commit
97d9dffa80
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  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"})
 		}
 	}()
 }