Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
silesky committed Nov 9, 2024
1 parent 34c4038 commit f4900f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/signals/signals/src/lib/storage/web-storage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export class WebStorage {
const item = JSON.stringify(value)
this.storage.setItem(key, item)
} catch (e) {
console.warn('Storage set error', e)
console.warn('Storage set error', { key, value }, e)
}
}

Expand All @@ -30,7 +30,7 @@ export class WebStorage {
}
return JSON.parse(item) as T
} catch (e) {
console.warn('Storage retrieval error', e)
console.warn('Storage retrieval error', { key }, e)
}
return undefined
}
Expand Down

0 comments on commit f4900f5

Please sign in to comment.