@Test
public void logErrorForBundle() throws Exception {

  telemetryLogger.logErrorForBundle(new NullPointerException());
  LogRequest logRequest = inflatePayload(clearcutConnection);
  assertCommonLogFields(logRequest);
  SizeAnalysisLog sizeAnalysisLog = extractSourceExtension(logRequest);
  assertThat(sizeAnalysisLog.getErrorType()).isEqualTo(ErrorType.RUNTIME_ERROR);
}