Improve error reporting

Follow-up of changes introduced in commit 72c922668f
This commit is contained in:
Vojtech Vitek (V-Teq) 2014-12-09 01:37:24 +01:00
parent 5b33534dcf
commit 397240aebe
3 changed files with 3 additions and 3 deletions

View File

@ -31,7 +31,7 @@ const usage = "usage: enscope specFilename configFilename"
func checkErr(err error) {
if err != nil {
glog.Fatalf("%v", err)
glog.FatalDepth(1, err)
}
}

View File

@ -56,7 +56,7 @@ type SimpleService struct {
func checkErr(err error) {
if err != nil {
glog.Fatalf("%v", err)
glog.FatalDepth(1, err)
}
}

View File

@ -81,7 +81,7 @@ type ServiceMap map[string]HierarchicalService
func checkErr(err error) {
if err != nil {
glog.Fatalf("%v", err)
glog.FatalDepth(1, err)
}
}