diff options
db: include the Team ID in the error message (#6056)
This means that when using the API to create a new team, the output
contains the existing team ID, not just the name.
While there may be the thought that this reveals sensitive
information, it is never the case that a user can create or update
a team without permission to view the teams in the first place.
Diffstat (limited to 'internal/db/error.go')
1 files changed, 2 insertions, 1 deletions