The error is not wrapped correctly, because instead of using `q.Error`, it uses `err`, which is defined elsewhere. Also, the `UpdateOrganization` and `CreateOrganizationPool` functions will never fail on update/create org, because it returns a nil error, instead of wrap error. Signed-off-by: Mihaela Balutoiu <mbalutoiu@cloudbasesolutions.com> |
||
|---|---|---|
| .. | ||
| common | ||
| sql | ||
| database.go | ||