TFPHTTPClient.SimpleGet catching exception lazarus / 38-Networking and Web Programming ---------------------------------------------------------------------- Dzandaa · 2021-11-21 11:18 Hi, using Lazarus 2.0.12 on Windows and Linux is it possible to catch exception of TFPHTTPClient.SimpleGet(URL , LMemoryStream);  when URL is not valid? Or to Ping the URL before the call? Thank you. ---------------------------------------------------------------------- jamie · 2021-11-21 23:59 I dont see why not? Use the TRY "The code" Except End;  If you have already done this and it still pops up a screen in front of you this means most likely you are running the app under debug mode and should run it without debug for that to work..