Fix %v that should have been a %w so that we can use errors.Is reliably

This commit is contained in:
David Dworken 2023-11-11 11:24:16 -08:00
parent 5cebea00af
commit 99d899254a
No known key found for this signature in database

View File

@ -947,7 +947,7 @@ func getAllCustomColumnNames(ctx context.Context) ([]string, error) {
return db.Raw(query).Rows()
})
if err != nil {
return nil, fmt.Errorf("failed to query for list of custom columns: %v", err)
return nil, fmt.Errorf("failed to query for list of custom columns: %w", err)
}
ccNames := make([]string, 0)
for rows.Next() {