提交 03222d20 编写于 作者: B Benjamin Pasero

sqlite - relax storage value assertion

上级 174bf8b7
......@@ -156,7 +156,7 @@ export class NextDelegatingStorageService extends Disposable implements INextSto
}
private assertStorageValue(key: string, scope: StorageScope, dbValue: any, storageValue: any): void {
if (dbValue !== storageValue) {
if (dbValue && dbValue !== storageValue) {
this.logService.error(`Unexpected storage value (key: ${key}, scope: ${scope === StorageScope.GLOBAL ? 'global' : 'workspace'}), actual: ${dbValue}, expected: ${storageValue}`);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册