mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: Differentiate the ErrOrgNotFound error messages (#64131)
* Better org not found error messages
This commit is contained in:
committed by
GitHub
parent
1aadafe7d8
commit
fde96c91c1
@@ -139,7 +139,7 @@ func verifyExistingOrg(sess *DBSession, orgId int64) error {
|
||||
return err
|
||||
}
|
||||
if !has {
|
||||
return org.ErrOrgNotFound
|
||||
return org.ErrOrgNotFound.Errorf("failed to verify existing org")
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user