Skip to content

Commit

Permalink
fail silently, don't crash, when the file doesn't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
colinta committed Aug 10, 2017
1 parent 86bb73a commit 358603c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wuzz.go
Original file line number Diff line number Diff line change
Expand Up @@ -1174,7 +1174,7 @@ func (a *App) CreatePopupView(name string, width, height int, g *gocui.Gui) (v *
func (a *App) LoadRequest(g *gocui.Gui, loadLocation string) (err error) {
requestJson, ioErr := ioutil.ReadFile(loadLocation)
if ioErr != nil {
return ioErr
return nil
}

var requestMap map[string]string
Expand Down

0 comments on commit 358603c

Please sign in to comment.