mirror of
https://github.com/ArthurDanjou/website-old.git
synced 2026-01-29 19:30:35 +01:00
Import Sentry
This commit is contained in:
@@ -31,10 +31,14 @@ export default {
|
||||
title: `Projects - Arthur Danjou`
|
||||
},
|
||||
setup() {
|
||||
const { $content, i18n } = useContext()
|
||||
const { $content, i18n, $sentry } = useContext()
|
||||
|
||||
const projects = useAsync(() => {
|
||||
return $content('projects').fetch<Project>()
|
||||
return $content('projects')
|
||||
.fetch<Project>()
|
||||
.catch((error) => {
|
||||
$sentry.captureEvent(error)
|
||||
})
|
||||
})
|
||||
|
||||
useMeta( {
|
||||
|
||||
Reference in New Issue
Block a user