How to validate a url received via webhook?

I am using a webhook to receive a url in make.com and would like to check the validity (existing url or not) using the HTTP “Make a Request” module, and then return the status code, e.g. 200 in the webhook response. If the url doesn’t exist, the HTTP module throws an error, the module stops and as a result there’s no webhook response sent back. If I add an ignore error handler there’s a status code 200 returned as response code, instead of the correct 404 (or 403 or similar depending on the error type). How can I make it work and make the scenario send the correct specific status code as webhook response in any case?