text: Improve panic messages with more information (#42072)

Release Notes:

- N/A *or* Added/Fixed/Improved ...
32047bef93Lukas Wirth committed on 11/6/2025, 9:16:45 AM· committed by GitHubparent4003287
3 files changedLine totals unavailable