How to catch an unhandled exception when calling Connect REST in Activity?
When I call a Connect REST from an activity, if the called service has a wrong IP address (or domain name), I can see in the log file:
com.pega.pegarules.pub.services.ConnectorException: Caught unhandled exception: com.pega.apache.http.conn.HttpHostConnectException: Connection to http://XX.XX.XX.XX refused
Seems to be from Pega activity pyInvokeRESTConnector.
However, the activity will browser timeout. The entire designer studio freezes and cannot recover. The Jump in activity cannot catch the exception.
Any way to catch the exception and let the Activity continue?
***Updated by moderator: Marissa to remove proprietary information***