Show an error message if loading data fails