if you use a try/catch block around the whole method implementation, you can handle all logging in one place