Skip to content

Commit

Permalink
feat: sentry update
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxtuneLee committed Apr 5, 2024
1 parent d36878f commit a647294
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Sentry.init({
Sentry.replayIntegration({
maskAllText: false,
blockAllMedia: false,
networkDetailAllowUrls: [window.location.origin],
}),],
beforeSend(event, hint) {
if (event.exception) {
Expand Down
3 changes: 3 additions & 0 deletions src/pages/home/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@ const Home = () => {
default:
break
}
setTimeout(() => {
window.location.reload()
}, 500)
} else {
setTimeout(() => {
notification.error({
Expand Down

0 comments on commit a647294

Please sign in to comment.