You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to catch the error which was thrown when a HTTP Network request to fetch the page data is done and it returns and error.
Currently i am trying to throw an error from my container component which makes the API call but the puppeteer renderer plugin is not able to catch that.
Any help on this will be highly appreciated.
Thanks !
The text was updated successfully, but these errors were encountered:
Hi @nikLD2022
Do you want Scully to catch an error that happens inside your application?
There is no direct way of doing that. Adding the code that will make this possible is challenging, at least. Also, it will slow down rendering in all cases. I don't think this is a feature we will add.
However, you can still handle this use case. First catch the error in your application, and make sure you do render something special in the template:
Hi Team ,
I want to catch the error which was thrown when a HTTP Network request to fetch the page data is done and it returns and error.
Currently i am trying to throw an error from my container component which makes the API call but the puppeteer renderer plugin is not able to catch that.
Any help on this will be highly appreciated.
Thanks !
The text was updated successfully, but these errors were encountered: