Your supervisor criticizes you publicly for an incident they only saw the end of. Respond professionally and reflect on what the feedback is worth.