Sausages in Onion Sauce with Mashed Potatoes