Fix crash when formatting error codes with no text explanation