Skip to content
This repository has been archived by the owner on Jul 7, 2020. It is now read-only.

Commit

Permalink
Do not panic.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlekSi committed Feb 6, 2013
1 parent 2e9f74f commit 8bc3df4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nut/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ func ReadSpec(fileName string) (spec *Spec) {
func ReadNut(fileName string) (b []byte, nf *NutFile) {
var err error
b, err = ioutil.ReadFile(fileName)
PanicIfErr(err)
FatalIfErr(err)
nf = new(NutFile)
_, err = nf.ReadFrom(bytes.NewReader(b))
PanicIfErr(err)
Expand Down

0 comments on commit 8bc3df4

Please sign in to comment.