docs: def problem_serializing(value, e=None):
      """
      THROW ERROR ABOUT SERIALIZING
      """
      from mo_logs import Log
  
      try:
          typename = type(value).__name__
      except Exception:
          typename = "<error getting name>"
  
      try:
          rep = text_type(repr(value))
      except Exception as _:
          rep = None
  
      if rep == None:
          Log.error(
              "Problem turning value of type {{type}} to json",
              type=typename,
              cause=e
          )
      else:
          Log.error(
              "Problem turning value ({{value}}) of type {{type}} to json",
              value=rep,
              type=typename,
              cause=e
          )