using context logger
Signed-off-by: Lilly Holden <lholden@adaptavist.com>
This commit is contained in:
+1
-1
@@ -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.`,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user