adding logging to MalformedUrlException