Skip to content

Commit

Permalink
debug error prod
Browse files Browse the repository at this point in the history
  • Loading branch information
fachrihawari committed Oct 2, 2024
1 parent 94afa1a commit 206506d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/app/(main)/payment/[token]/error.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
'use client'

export default function Error(props: { error: Error }) {
console.log(props.error)
console.log(props.error.name)
console.log(props.error.message)
console.log(props.error.stack)

return 'Ooppps'
}

0 comments on commit 206506d

Please sign in to comment.