using context logger

Signed-off-by: Lilly Holden <lholden@adaptavist.com>
This commit is contained in:
Lilly Holden
2022-07-18 15:51:37 +01:00
parent b658e8f8c6
commit 75a5de9d73
@@ -161,7 +161,7 @@ export const createPublishGitlabMergeRequestAction = (options: {
const assigneeUser = await api.Users.username(assignee);
assigneeId = assigneeUser[0].id;
} catch (e) {
console.warn(
ctx.logger.warn(
`Failed to find gitlab user id for ${assignee}: ${e}. Proceeding with MR creation without an assignee.`,
);
}