Skip to content

Commit

Permalink
fix: storage pify errorFirst (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienbrault authored Sep 8, 2023
1 parent 018ca17 commit 1d9caae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ export abstract class BaseStorage {

if (isChromeBelow100()) {
this.#primaryClient = pify(this.#extStorageEngine[this.area], {
exclude: ["getBytesInUse"]
exclude: ["getBytesInUse"],
errorFirst: false
})
} else {
this.#primaryClient = this.#extStorageEngine[this.area]
Expand Down

0 comments on commit 1d9caae

Please sign in to comment.