[fix] studio server error
This commit is contained in:
parent
2eb78f86df
commit
12552d5b69
1 changed files with 2 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue