We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 139eafb commit 14fa26eCopy full SHA for 14fa26e
src/channel/state/Progress.ts
@@ -33,7 +33,7 @@ class Progress {
33
public set = (value: CR.Progress) => {
34
this.value = value
35
if (!this.storage) {
36
- throw new Error('Tutorial storage not found')
+ return defaultValue
37
}
38
this.storage.set(value)
39
return this.value
0 commit comments