fix error handling in DiscoDBView_new