diff --git a/frontend/src/composables/services/course.service.ts b/frontend/src/composables/services/course.service.ts index 316945d7..74624bec 100644 --- a/frontend/src/composables/services/course.service.ts +++ b/frontend/src/composables/services/course.service.ts @@ -85,7 +85,9 @@ export function useCourses(): CoursesState { t('toasts.messages.success'), t('toasts.messages.courses.create.success', [course.value?.name]), ); - } catch {} + } catch (e) { + console.log(e); + } } async function updateCourse(courseData: Course): Promise { diff --git a/frontend/src/composables/services/project.service.ts b/frontend/src/composables/services/project.service.ts index 4fd3e0b0..3bd6e099 100644 --- a/frontend/src/composables/services/project.service.ts +++ b/frontend/src/composables/services/project.service.ts @@ -107,7 +107,9 @@ export function useProject(): ProjectState { t('toasts.messages.success'), t('toasts.messages.projects.create.success', [project.value?.name]), ); - } catch {} + } catch (e) { + console.log(e); + } } async function updateProject(projectData: Project): Promise { diff --git a/frontend/src/composables/services/submission.service.ts b/frontend/src/composables/services/submission.service.ts index c8b31c19..49bbb756 100644 --- a/frontend/src/composables/services/submission.service.ts +++ b/frontend/src/composables/services/submission.service.ts @@ -47,7 +47,9 @@ export function useSubmission(): SubmissionState { try { await create(endpoint, formData, submission, Submission.fromJSONCreate, 'multipart/form-data'); addSuccessMessage(t('toasts.messages.success'), t('toasts.messages.submissions.create.success')); - } catch {} + } catch (e) { + console.log(e); + } } async function deleteSubmission(id: string): Promise {