Improve exceptions logging in certservice client