Often it is helpful to have a counter here, that checks if printing the panic message rendered a panic itself.
This can happen e.g. in OOM situations.