diff --git a/.gitignore b/.gitignore
index ff64aabd..e607a698 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,3 +9,6 @@ package-lock.json
# Local Netlify folder
.netlify
+
+# Sentry Auth Token
+.env.sentry-build-plugin
diff --git a/package.json b/package.json
index e8c924a3..c3598a3d 100644
--- a/package.json
+++ b/package.json
@@ -17,6 +17,7 @@
"@sentry/browser": "^7.61.0",
"@sentry/integrations": "^7.61.0",
"@sentry/tracing": "^7.61.0",
+ "@sentry/vite-plugin": "^2.6.2",
"@supabase/supabase-js": "^2.31.0",
"@sveltejs/adapter-auto": "^2.1.0",
"@sveltejs/adapter-netlify": "^2.0.8",
diff --git a/src/lib/components/Course/components/Lesson/Materials/Video/LocalVideo.svelte b/src/lib/components/Course/components/Lesson/Materials/Video/LocalVideo.svelte
index 97d0c0ee..b0cc7705 100644
--- a/src/lib/components/Course/components/Lesson/Materials/Video/LocalVideo.svelte
+++ b/src/lib/components/Course/components/Lesson/Materials/Video/LocalVideo.svelte
@@ -75,6 +75,11 @@
}
}
+ function tryAgain() {
+ formRes = null;
+ isLoaded = false;
+ }
+
$: isDoneUploading(formRes);
@@ -124,7 +129,7 @@
Sorry we video wasn’t uploaded. The file size is too big,
maximum size is 50 MB. Try again!
- Sorry we video wasn’t uploaded, the file format isn’t supported.
Upload MP4, MOV and AVI
- files.
+ Sorry we video wasn’t uploaded, the file format isn’t supported or something went wrong on
+ the server.
Upload MP4, MOV and AVI files.