blob: 857344ef52f4b4928e2ea0f794b8d9a1753c0616 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
package main
import (
"github.com/opencode-ai/opencode/cmd"
"github.com/opencode-ai/opencode/internal/logging"
)
func main() {
defer logging.RecoverPanic("main", func() {
logging.ErrorPersist("Application terminated due to unhandled panic")
})
cmd.Execute()
}
|