Added SQL error info.