Fix a missing exception in base data source