CLASSROOMIO-T-48: Error 500 Page

This is for the readjustment of the error page.

Co-authored-by: Rotimi Best <rotimiibitoyebest@yahoo.co.uk>
Co-authored-by: Rotimi Best <rotimiibitoyeemma@gmail.com>
Co-authored-by: Tunji Adeyemi <tunji@digdippa.com>
Co-authored-by: tunny17 <tvnji17@gmail.com>


Merge-request: CLASSROOMIO-MR-15
Merged-by: Best Admin <digdippa@gmail.com>
This commit is contained in:
tunny17
2023-07-15 19:45:04 +00:00
committed by Space Cloud
co-authored by Rotimi Best Rotimi Best Tunji Adeyemi
parent 49dc34a660
commit ed67d43b2a
6 changed files with 257 additions and 72 deletions
+3 -3
View File
@@ -9,7 +9,7 @@
import { derived } from 'svelte/store';
import { stores, goto } from '@sapper/app';
import isEmpty from 'lodash/isEmpty';
// import * as Sentry from '@sentry/browser';
import * as Sentry from '@sentry/browser';
import { Theme } from 'carbon-components-svelte';
import { Moon } from 'svelte-loading-spinners';
import Tailwindcss from '../components/Tailwindcss.svelte';
@@ -96,7 +96,7 @@
profile.set(data[0]);
// Set user in sentry
// Sentry.setUser($profile);
Sentry.setUser($profile);
if ($appStore.isStudentDomain) {
const { data, error } = await supabase
@@ -134,7 +134,7 @@
profile.set(profileData);
// Set user in sentry
// Sentry.setUser($profile);
Sentry.setUser($profile);
const orgRes = await getOrganizations($profile.id);