code: public void sendEvent(EventBuilder eventBuilder) {
          if (!Util.isNullOrEmpty(release)) {
              eventBuilder.withRelease(release.trim());
              if (!Util.isNullOrEmpty(dist)) {
                  eventBuilder.withDist(dist.trim());
              }
          }
  
          if (!Util.isNullOrEmpty(environment)) {
              eventBuilder.withEnvironment(environment.trim());
          }
  
          if (!Util.isNullOrEmpty(serverName)) {
              eventBuilder.withServerName(serverName.trim());
          }
  
          for (Map.Entry<String, String> tagEntry : tags.entrySet()) {
              eventBuilder.withTag(tagEntry.getKey(), tagEntry.getValue());
          }
  
          for (Map.Entry<String, Object> extraEntry : extra.entrySet()) {
              eventBuilder.withExtra(extraEntry.getKey(), extraEntry.getValue());
          }
  
          runBuilderHelpers(eventBuilder);
          Event event = eventBuilder.build();
          sendEvent(event);
      }
docs: Builds and sends an {@link Event} to the Sentry server.
  
  @param eventBuilder {@link EventBuilder} to send to Sentry.