Skip to content

Commit c705834

Browse files
rc
1 parent daa5c31 commit c705834

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@splitsoftware/splitio-commons",
3-
"version": "2.5.0",
3+
"version": "2.5.1-rc.0",
44
"description": "Split JavaScript SDK common components",
55
"main": "cjs/index.js",
66
"module": "esm/index.js",

src/storages/inLocalStorage/storageAdapter.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ export function storageAdapter(log: ILogger, prefix: string, wrapper: SplitIO.St
1919
cache = JSON.parse(storedCache || '{}');
2020
keys = Object.keys(cache);
2121
}).catch((e) => {
22-
log.error(LOG_PREFIX + 'Rejected promise calling wrapper `getItem` method, with error: ' + e);
22+
log.error(LOG_PREFIX + 'Error calling wrapper `getItem` method: ' + e);
2323
}));
2424
},
2525

2626
save() {
2727
return savePromise = savePromise.then(() => {
2828
return Promise.resolve(wrapper.setItem(prefix, JSON.stringify(cache)));
2929
}).catch((e) => {
30-
log.error(LOG_PREFIX + 'Rejected promise calling wrapper `setItem` method, with error: ' + e);
30+
log.error(LOG_PREFIX + 'Error calling wrapper `setItem` method: ' + e);
3131
});
3232
},
3333

0 commit comments

Comments
 (0)