I believe the error is returned by our custom Scan(src interface{}) error method. And when we try to see if that error occurred, it, of course, fails because it's not wrapped.
seankhliao
added
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
and removed
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
labels
Feb 26, 2021
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Happened to use one of the SQL Exec methods and happened to get error at
go/src/database/sql/convert.go
Line 194 in 0e85fd7
The error does not get wrapped (with "%w"), so cannot use
errors.Is()
What did you expect to see?
What did you see instead?
The text was updated successfully, but these errors were encountered: