We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dda03bf commit 2ec1727Copy full SHA for 2ec1727
src/Renderer/QueryRenderer.ts
@@ -182,9 +182,10 @@ class QueryRenderChild extends MarkdownRenderChild {
182
`[render][observer] Became visible, isCacheChangedSinceLastRedraw:${this.isCacheChangedSinceLastRedraw}`,
183
);
184
if (this.isCacheChangedSinceLastRedraw) {
185
- // TODO Should handle exceptions here...
186
this.queryResultsRenderer.query.debug('[render][observer] ... updating search results');
187
- this.render({ tasks: this.plugin.getTasks(), state: this.plugin.getState() }).then(() => {});
+ this.render({ tasks: this.plugin.getTasks(), state: this.plugin.getState() })
+ .then()
188
+ .catch((e) => console.error(e));
189
}
190
191
0 commit comments