use log.Fatal instead of panic

Former-commit-id: 5f02ba76b35ff67d57114729fc08e58fadc11067 [formerly afdbc0fb9d46042f3bd02d623d7d762a30edbd3b] [formerly 13ff37a836606b90cff13e0836e679983eaaadec [formerly 7a775c42a1]]
Former-commit-id: 99e8cbc7708b4c6c197220e21eced17aa11e242d [formerly 1404d4021cbcce848c106a8b15ee9bd989afebf1]
Former-commit-id: ae93bddd201e69d8069cc1ff8989e75d1adecec3
This commit is contained in:
1138-4EB 2019-01-06 22:06:56 +01:00
parent 6712fa580b
commit 438371fc9a
1 changed files with 1 additions and 2 deletions

View File

@ -19,8 +19,7 @@ import (
func checkErr(err error) {
if err != nil {
fmt.Println(err)
os.Exit(1)
log.Fatal(err)
}
}