Better error return for project delete method