Skip to content
This repository was archived by the owner on Dec 2, 2023. It is now read-only.

Commit aa97e09

Browse files
committed
feat: improve error handling
1 parent d44ef77 commit aa97e09

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/DocbaseClient.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ export class DocbaseClient {
3636
this.lruMap.set(id, post);
3737
return post;
3838
} catch (err) {
39-
console.warn(err);
40-
throw err;
39+
return null;
4140
}
4241
}
4342
}

0 commit comments

Comments
 (0)