Improve error logging of pigro