Skip to content
Discussion options

You must be logged in to vote

if this is strictly about preloading and you want to ignore all possible errors then something like:

this.preloadCommentsTask.perform().catch(() => {
  // we are actively ignoring all errors here, because this task is only used to preload the data
  // and if it fails the user experience is not affected that much
});

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@iamdtang
Comment options

Answer selected by iamdtang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #174 on December 16, 2021 23:52.