[CXF-5761] When pretty writing, ignore any errors as they could be caused by the truncation
Also unify the limits