This commit is contained in:
2022-05-19 15:09:57 +03:00
parent bba190a782
commit 6762ec09bc
4 changed files with 31 additions and 9 deletions

View File

@ -80,7 +80,7 @@ func main() {
err_sep = append(err_sep, "")
}
if ctx.Err() == context.DeadlineExceeded {
c.JSON(http.StatusRequestTimeout, gin.H{"status": "script timeout", "stdout": out_sep[1], "stderr": err_sep[1]})
c.JSON(http.StatusRequestTimeout, gin.H{"status": "timeout", "stdout": out_sep[1], "stderr": err_sep[1]})
return
}
if err != nil {

View File

@ -7,6 +7,8 @@ func _init():
var Directory = null
var ConfigFile = null
var File = null
var HTTPClient = null
var GDScript = null
print("=== {{ .Id }} ===")
printerr("=== {{ .Id }} === ")