Skip to content

Commit c2a6107

Browse files
Changed logger messages
1 parent 4273520 commit c2a6107

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/io/github/delirius325/jmeter/backendlistener/elasticsearch/ElasticsearchBackend.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public void onFailure(HttpHost host) {
9999
}
100100
super.setupTest(context);
101101
} catch (Exception e) {
102-
throw new IllegalStateException("Unable to setup connectivity to ES", e);
102+
throw new IllegalStateException("Unable to connect to the ElasticSearch engine", e);
103103
}
104104
}
105105

@@ -131,7 +131,7 @@ public void handleSampleResults(List<SampleResult> results, BackendListenerConte
131131
try {
132132
sendRequest(this.bulkRequestList);
133133
} catch (Exception e) {
134-
logger.error("Error sending data to ES, data will be lost", e);
134+
logger.error("Error occured while sending bulk request.", e);
135135
} finally {
136136
this.bulkRequestList.clear();
137137
}

0 commit comments

Comments
 (0)