Escape error message in retry list