Skip to content

Commit

Permalink
[fix] studio server error
Browse files Browse the repository at this point in the history
  • Loading branch information
trheyi committed Apr 7, 2023
1 parent 2eb78f8 commit 12552d5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions studio/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 12552d5

Please sign in to comment.