Skip to content

Commit

Permalink
fix: fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
ebina4yaka committed May 16, 2024
1 parent c5d051c commit ffc12a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ client.on('ready', async () => {

const errorHandler = async (queue, error) => {
Sentry.withScope((scope) => {
scope.setExtra('queue', queue)
scope.setExtra('track', queue.currentTrack)
scope.setExtra('queue', util.inspect(queue))
scope.setExtra('tracks', util.inspect(queue.tracks))
Sentry.captureException(error)
})
await Sentry.flush(2500)
Expand Down

0 comments on commit ffc12a5

Please sign in to comment.