Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zuedev committed Dec 16, 2024
1 parent 75d3d25 commit f0162d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/bot.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ export default async () => {
console.error(error);
interaction.reply("I couldn't execute that command.");
}

console.log(Sentry.getActiveSpan());
}
);
});
Expand Down
2 changes: 2 additions & 0 deletions source/instrument.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ if (process.env.SENTRY_DSN) {
environment: process.env.ENVIRONMENT,
release: `arcanum@${version}+${commit}`,
});

console.log("Sentry initialized.");
} else {
console.log("No Sentry DSN provided, skipping Sentry setup.");
}

0 comments on commit f0162d3

Please sign in to comment.