mirror of
https://github.com/ddworken/hishtory.git
synced 2024-11-23 00:34:27 +01:00
Fix %v that should have been a %w so that we can use errors.Is reliably
This commit is contained in:
parent
5cebea00af
commit
99d899254a
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user