getProxiedExternalContent doesn't handle errors
nileshgulia1 opened this issue · 1 comments
nileshgulia1 commented
If external CORS destinations are not set in config settings. The action doesn't send error in subrequest
object and the page crashes itself.
We see a socket error.
nileshgulia1 commented
Providing a next
fn to onError handler argument can do custom error handling.
https://expressjs.com/en/guide/error-handling.html