Skip to content

Commit

Permalink
removed missleading comment
Browse files Browse the repository at this point in the history
  • Loading branch information
lexoyo committed May 28, 2024
1 parent e182870 commit 4fcfe2c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/ts/plugins/server/GitlabConnector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,6 @@ export default class GitlabConnector implements StorageConnector {
if(text === '{"message":"404 User Not Found"}') {
// The front end sometimes try to login with a wrong user ID (e.g. undefined after Silex server update)
// In that case we need to logout
// FIXME: check the client side code to avoid this
throw new ApiError('Gitlab API error (6): User Not Found', 401)
}
console.error('Gitlab API error (1)', response.status, response.statusText, {url, method, body, params, text, message})
Expand Down

0 comments on commit 4fcfe2c

Please sign in to comment.