inelegant error handeling for export yml errors re #773