Update storage.ts

This commit is contained in:
Steve Ruiz 2021-06-19 17:12:44 +01:00
parent 12349b7129
commit 6722ae3dfa

View file

@ -45,7 +45,11 @@ class Storage {
}
}
this.load(data)
try {
this.load(data)
} catch (error) {
console.error(error)
}
}
saveDocumentToLocalStorage(data: Data) {