Import Sentry

This commit is contained in:
2021-04-27 21:47:26 +02:00
parent 6e45298506
commit c202252f3b
16 changed files with 334 additions and 31 deletions

View File

@@ -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( {