handle errors occurring during sourcing more gracefully