def _log_errors()

in sourcecode/scoring/pandas_utils.py [0:0]


  def _log_errors(self, method: str, callsite: str, lines: List[str]) -> None:
    if not lines:
      return
    self._counter.log_errors(method, callsite, lines)
    errorLines = "\n".join([f"  PandasTypeError: {l}" for l in lines])
    msg = f"\n{method} ERROR(S) AT: {callsite}\n{errorLines}\n"
    if not self._silent:
      print(msg, file=sys.stderr)