More verbose logging for SQL api connection errors