Skip to content

Fix inconsistent return type

Zeger-Jan van de Weg requested to merge zj-display-error-team-fetch into master

If an error was raised, this yielded a 500 error code, as the return type was inconsistent.

Fixes gitlab-org/gitlab-ce#27150

/cc @lbennett

Merge request reports