Fixing Unwrapable interface again

This commit is contained in:
Foil-hat-guy 2025-05-08 11:39:14 +03:00
parent ab36acbd66
commit 2334bd034e
No known key found for this signature in database
GPG key ID: 221CC305A7B23591

View file

@ -22,7 +22,7 @@ func enshureUnwrapable(err error) error {
if isUnwrapable(err) { if isUnwrapable(err) {
return err return err
} }
return fmt.Errorf("%v",err) return fmt.Errorf("%w",err.Error())
} }
func filterNilErrors(errs []error) (notNilErrs []error) { func filterNilErrors(errs []error) (notNilErrs []error) {