public string Format(string text) { try { return(FormatInternal(text)); } catch (Exception ex) { FiddlerApplication.Log.LogString(ex.Message); var fmtedJs = _jsFormatter.Format(text); return(_jsFormatter.Append(fmtedJs, "re formated")); } }