remove error code array; add verbose logging of sql syntax errors