From 5795ff3230125c8d37e7c4c820d90ef72386ab83 Mon Sep 17 00:00:00 2001 From: imcaizheng Date: Sat, 19 Dec 2020 19:24:42 +0800 Subject: [PATCH] remove redundant console.log --- src/common/helper.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/common/helper.js b/src/common/helper.js index f4ff1ee8..715d9981 100644 --- a/src/common/helper.js +++ b/src/common/helper.js @@ -483,7 +483,6 @@ async function getProjectById (currentUser, id) { localLogger.debug({ context: 'getProjectById', message: `response body: ${JSON.stringify(res.body)}` }) return _.pick(res.body, ['id', 'name']) } catch (err) { - console.log(err) if (err.status === HttpStatus.FORBIDDEN) { throw new errors.UnauthorizedError(`You are not allowed to access the project with id ${id}`) }