Chop the shallot and the chilli very finely, cut the celery into fine strips and sauté in olive oil until translucent, do not brown.
Add the tomato pieces, tomato paste, sugar, half the bay leaf, the thyme sprig and the pressed garlic cloves and the wine. Let the mixture simmer for about a quarter of an hour at a low temperature. Fish out the herbs and season with salt and pepper.