Use error handling around source selection.