Sergey Sharybin
9e428e029b
Allows to modify go files in IDE without causing unrelated changes caused by formatter run on save.
13 lines
187 B
Go
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)
|
|
}
|