rollbar-java/src/main/java/com/rollbar/notifier/Rollbar.java
public void sendJsonPayload(String json) {
    try {
      this.configReadLock.lock();
      Config config = this.config;
      this.configReadLock.unlock();

      sendPayload(config, new Payload(json));
    } catch (Exception e) {
      LOGGER.error("Error while sending payload to Rollbar: {}", e);
    }
  }
/**
   * Send JSON payload.
   *
   * @param json the json payload.
   */
Send JSON payload.
@param json the json payload.
Send JSON payload . @param json the json payload .
public void sendJsonPayload(String json) {
    try {
      this.configReadLock.lock();
      Config config = this.config;
      this.configReadLock.unlock();
      sendPayload(config, new Payload(json));
    } catch (Exception e) {
      LOGGER.error("Error while sending payload to Rollbar: {}", e);
    }
  }
public void sendJsonPayload ( String json ) { try { this . configReadLock . lock ( ) ; Config config = this . config ; this . configReadLock . unlock ( ) ; sendPayload ( config , new Payload ( json ) ) ; } catch ( Exception e ) { LOGGER . error ( "Error while sending payload to Rollbar: {}" , e ) ; } }
Send JSON payload.
Send JSON payload .