Replace log.Fatal with panic