Since upgrading to Big Sur, if an attempt to connect to the REST service fails, the App quits unexpectedly. For example, this happens if the user does not have WiFi open and tries to connect, or if the user cannot access the server (i.e. if the server is temporarily unavailable).
On previous versions of MacOS, the exception was handled correctly inside the App.
Is there something I need to add to plist or something? Or has anything network related been phased out?
(The App is developed using Delphi 10.3.3 Community Edition with TRestRequest and executeasync; on Catalina and earlier the ACompletionHandlerWithError is called and the exception handled there).
I believe the error being thrown is Runtime Error 231.
(I am very new to Apple Development, so apologies if I have missed an obvious place to search for information on this!)
There are no issues on Android, iOS or Windows or previous MacOS; only Big Sur.