The cmd cache is insufficient so that the call stack information of the first goroutine can not be seen?

The

program reported an error, and the cmd cache was insufficient so that the call stack information of the first goroutine could not be seen. How to redirect the error to a file, or is there a better way to get the error?

Nov.11,2021

nohup


func main(){
    defer func(){
        fmt.Println("c")
        if err:=recover();err!=nil{
            fmt.Println(err) // errpanic
        }
    }()
    
    // TODO
}
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e5b832-27b71.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e5b832-27b71.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?