Skip to content

Commit 4c708b7

Browse files
Update src/store/modules/classData.ts
1 parent a840e2c commit 4c708b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/store/modules/classData.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ export class ClassDataStore extends VuexModule implements classData.ClassData {
155155
className
156156
})
157157
} catch {
158-
return Promise.reject(new Error('エラーによって処理に失敗しました'))
158+
throw new Error('エラーによって処理に失敗しました')
159159
}
160160
this.setClassData({
161161
classId,

0 commit comments

Comments
 (0)