mirror of
https://github.com/tutao/tutanota.git
synced 2025-12-08 06:09:50 +00:00
do not throw when attempting to put instances with errors to cache
This commit is contained in:
parent
5294ac009d
commit
b61d6c2abd
2 changed files with 2 additions and 2 deletions
|
|
@ -218,7 +218,7 @@ export class EphemeralCacheStorage implements CacheStorage {
|
|||
const instanceId = AttributeModel.getAttribute<IdTuple | Id>(instanceClone, "_id", typeModel)
|
||||
let { listId, elementId } = expandId(instanceId)
|
||||
if (hasError(instance)) {
|
||||
throw new ProgrammingError(
|
||||
console.warn(
|
||||
`Trying to put parsed instance with _errors to ephemeral cache. Type: ${typeModel.app}/${typeModel.name}, Id: ["${listId}", "${elementId}"]`,
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue