From 1d9caae01a18b04ed34a99792557067461795861 Mon Sep 17 00:00:00 2001 From: Adrien Brault Date: Fri, 8 Sep 2023 05:11:16 +0200 Subject: [PATCH] fix: storage pify errorFirst (#40) --- src/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index fc6c101..8139877 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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]