Skip to content

Commit 421d2a2

Browse files
authored
Merge pull request #75 from imcaizheng/team-service-m2m-internal-api-calls
remove redundant console.log
2 parents 896f811 + 5795ff3 commit 421d2a2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/common/helper.js

-1
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,6 @@ async function getProjectById (currentUser, id) {
483483
localLogger.debug({ context: 'getProjectById', message: `response body: ${JSON.stringify(res.body)}` })
484484
return _.pick(res.body, ['id', 'name'])
485485
} catch (err) {
486-
console.log(err)
487486
if (err.status === HttpStatus.FORBIDDEN) {
488487
throw new errors.UnauthorizedError(`You are not allowed to access the project with id ${id}`)
489488
}

0 commit comments

Comments
 (0)