"use client" import * as Sentry from "@sentry/nextjs" import { useEffect } from "react" import Image from "@/components/Image" /* eslint-disable formatjs/no-literal-string-in-jsx */ export default function GlobalError({ error, }: { error: Error & { digest?: string } }) { console.log({ global_error: error }) useEffect(() => { Sentry.captureException(error) }, [error]) return (
Scandic Hotels logotype

SORRY, SOMETHING WENT WRONG!

{ "While we're working hard to fix it, you can always give us a call:" }

You can also switch languages to try if it works better this way:

Thanks for your patience!

) }