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

@@ -24,12 +24,15 @@ import {Experience} from "../../@types/types";
export default defineComponent({
name: "ExperiencesAbout",
setup() {
const {$content} = useContext()
const {$content, $sentry} = useContext()
const experiences = useAsync(() => {
return $content('experiences')
.sortBy('end_date', 'desc')
.fetch<Experience>()
.catch((error) => {
$sentry.captureEvent(error)
})
})
return {