-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Try this out
package main
import (
"errors"
)
func somethingDangerous() error {
return errors.New("fake err")
}
func run() (err error) {
err = somethingDangerous()
return
}
func main() {
if err := run(); err != nil {
println(err)
}
}
You'll see that wrap check does not detect that err
is not being wrapped.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working