blender-open-data/launcher/internal/application.go
Sergey Sharybin 9e428e029b Cleanup: run goimports on all go files
Allows to modify go files in IDE without causing unrelated changes
caused by formatter run on save.
2021-11-15 17:08:15 +01:00

13 lines
187 B
Go

package internal
import (
"os"
"git.blender.org/blender-open-data/launcher/internal/core"
)
func ExitWithError(err error) {
core.ErrorLogger.Printf("%s", err.Error())
os.Exit(1)
}