I'd recommend logging here. And you probably want to catch the exceptions and log them.