eea/volto-corsproxy

getProxiedExternalContent doesn't handle errors

nileshgulia1 opened this issue · 1 comments

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.

Providing a next fn to onError handler argument can do custom error handling.
https://expressjs.com/en/guide/error-handling.html