Skip to content

Commit

Permalink
Move loggers to debug
Browse files Browse the repository at this point in the history
Let's switch the `robot.logger.info` into `robot.logger.debug`
  • Loading branch information
zuuring committed Nov 29, 2024
1 parent bc6fd55 commit dd12951
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions discord-scripts/fix-linear-embed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ async function processLinearEmbeds(
const embedPromises = Array.from(uniqueMatches).map(async (matchString) => {
const { issueId, commentId, teamName } = JSON.parse(matchString)

logger.info(
logger.debug(
`Processing issue: ${issueId}, comment: ${commentId}, team: ${teamName}`,
)

Expand Down Expand Up @@ -271,7 +271,7 @@ export default async function linearEmbeds(
return
}

robot.logger.info(`Processing message: ${message.content}`)
robot.logger.debug(`Processing message: ${message.content}`)
await processLinearEmbeds(
message.content,
message.id,
Expand Down Expand Up @@ -311,7 +311,7 @@ export default async function linearEmbeds(
return
}

robot.logger.info(
robot.logger.debug(
`Processing updated message: ${newMessage.content} (was: ${oldMessage?.content})`,
)
await processLinearEmbeds(
Expand Down

0 comments on commit dd12951

Please sign in to comment.