summaryrefslogtreecommitdiff
path: root/exit.go
blob: 8e70a557d1a74acf1a8f5f9ff0f6841622546f9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package config

// this is an experiment at this point to
// see how this turns out

import (
	"os"

	"go.wit.com/log"
)

// todo: figure out how to pass this back to argv
func BadExit(reason string, err error) {
	log.Exit("lib/config exiting here", reason, err)
	os.Exit(-1)
}