use ExitFail instead of panic

This commit is contained in:
Callan Bryant 2020-03-03 23:11:54 +00:00
parent b87948de55
commit 1011cf5e66
No known key found for this signature in database
GPG Key ID: C31FA9DF3ACBFFAA

View File

@ -9,7 +9,7 @@ import (
func check(e error) {
if e != nil {
panic(e)
ExitFail("%s", e)
}
}