Skip to content

[JENKINS-70533] Failure to collect telemetry submits empty payload #18444

Closed

Description

@jenkins-infra-bot

JSONObject data = new JSONObject();
try {
data = telemetry.createContent();
} catch (RuntimeException e) {
LOGGER.log(Level.WARNING, "Failed to build telemetry content for: '" + telemetry.getId() + "'", e);
}
if (data == null) {
LOGGER.log(Level.CONFIG, "Skipping telemetry for '" + telemetry.getId() + "' as it has no data");
return;
}

An exception thrown on line 205 results in the submission of empty payload instead of skipping it.


Originally reported by danielbeck, imported from: Failure to collect telemetry submits empty payload
  • assignee: danielbeck
  • status: Closed
  • priority: Minor
  • component(s): core
  • label(s): 2.387.1-fixed
  • resolution: Fixed
  • resolved: 2023-02-07T13:21:43+00:00
  • votes: 0
  • watchers: 1
  • imported: 2025-11-24
Raw content of original issue

JSONObject data = new JSONObject();
try {
data = telemetry.createContent();
} catch (RuntimeException e) {
LOGGER.log(Level.WARNING, "Failed to build telemetry content for: '" + telemetry.getId() + "'", e);
}
if (data == null) {
LOGGER.log(Level.CONFIG, "Skipping telemetry for '" + telemetry.getId() + "' as it has no data");
return;
}

An exception thrown on line 205 results in the submission of empty payload instead of skipping it.

Activity

  1. jenkins-infra-bot commented on Feb 1, 2023

    @jenkins-infra-bot
    Author
    • Remote link associated with this issue:

  2. removed
    bugFor changelog: Minor bug. Will be listed after features
    on Nov 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions