Skip to content

Commit

Permalink
chore: debug logger
Browse files Browse the repository at this point in the history
  • Loading branch information
EresDev committed Dec 5, 2024
1 parent 06a1d00 commit 09df770
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/handlers/call-personal-agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ export async function callPersonalAgent(context: Context) {
return;
}

logger.info("logger info");
logger.error("logger error");
logger.debug("logger debug");

const targetUser = body.match(/^\/\B@([a-z0-9](?:-(?=[a-z0-9])|[a-z0-9]){0,38}(?<=[a-z0-9]))/i);
if (!targetUser) {
logger.error(`Missing target username from comment: ${body}`);
Expand Down

0 comments on commit 09df770

Please sign in to comment.