code: public void log(ThrowableWrapper error, Map<String, Object> custom, String description,
                    Level level, boolean isUncaught) {
      try {
        process(error, custom, description, level, isUncaught);
      } catch (Exception e) {
        LOGGER.error("Error while processing payload to send to Rollbar: {}", e);
      }
    }
docs: Record an error or message with extra data at the level specified. At least ene of `error` or
  `description` must be non-null. If error is null, `description` will be sent as a message. If
  error is non-null, description will be sent as the description of the error. Custom data will
  be attached to message if the error is null. Custom data will extend whatever {@link
  Config#custom} returns.
  
  @param error the error (if any).
  @param custom the custom data (if any).
  @param description the description of the error, or the message to send.
  @param level the level to send it at.
  @param isUncaught whether or not this data comes from an uncaught exception.