EDOC-1310: log errors in ServiceWrapper