@@ -102,6 +102,7 @@ LIMIT 1;
|
||||
if errors.Is(err, pgx.ErrNoRows) {
|
||||
return ErrResourceNotFound
|
||||
}
|
||||
|
||||
return fmt.Errorf("cannot collect common third party: %w", err)
|
||||
}
|
||||
|
||||
@@ -158,6 +159,7 @@ LIMIT 1;
|
||||
if errors.Is(err, pgx.ErrNoRows) {
|
||||
return ErrResourceNotFound
|
||||
}
|
||||
|
||||
return fmt.Errorf("cannot collect common third party by name: %w", err)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user