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 {Formation} from "../../@types/types";
export default defineComponent({
name: "FormationsHome",
setup() {
const {$content} = useContext()
const {$content, $sentry} = useContext()
const formations = useAsync(() => {
return $content('formations')
.sortBy('end_date', 'desc')
.fetch<Formation>()
.catch((error) => {
$sentry.captureEvent(error)
})
})
return {