API Better logging of curl errors during smoketesting