mirror of
https://github.com/aclindsa/moneygo.git
synced 2025-07-12 07:51:08 -04:00
go vet, go fmt
This commit is contained in:
@ -321,11 +321,11 @@ func OFXFileImportHandler(tx *Tx, r *http.Request, user *User, accountid int64)
|
||||
part, err := multipartReader.NextPart()
|
||||
if err != nil {
|
||||
if err == io.EOF {
|
||||
return NewError(3 /*Invalid Request*/)
|
||||
log.Print("Encountered unexpected EOF")
|
||||
return NewError(3 /*Invalid Request*/)
|
||||
} else {
|
||||
return NewError(999 /*Internal Error*/)
|
||||
log.Print(err)
|
||||
return NewError(999 /*Internal Error*/)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user