From 12552d5b69307a29d9e88ea3a4b73cd589f490c3 Mon Sep 17 00:00:00 2001 From: Max Date: Fri, 7 Apr 2023 15:38:47 +0800 Subject: [PATCH] [fix] studio server error --- studio/router.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/studio/router.go b/studio/router.go index 88524ef6..6d6d55ae 100644 --- a/studio/router.go +++ b/studio/router.go @@ -212,7 +212,9 @@ func setRouter(router *gin.Engine) { ctx, err := script.NewContext(fmt.Sprintf("%v", sid), nil) if err != nil { throw(c, 500, err.Error()) + return } + res, err := ctx.Call(fun.Method, fun.Args...) if err != nil {