Fixing logError call.