Skip to content

Commit

Permalink
Add root cause exception to final exception in case of docker otel error
Browse files Browse the repository at this point in the history
  • Loading branch information
marekkopecky committed Dec 4, 2024
1 parent 3b1e621 commit 05c9439
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ public void start() {
try {
otelCollectorContainer.start();
} catch (Exception e) {
throw new IllegalStateException("Starting the OTel container failed: " + e);
throw new IllegalStateException("Starting the OTel container failed: " + e, e);
}
otlpGrpcEndpoint = "http://localhost:" + DOCKER_HOST_OTLP_GRPC_PORT;
otlpHttpEndpoint = "http://localhost:" + DOCKER_HOST_OTLP_HTTP_PORT;
Expand Down

0 comments on commit 05c9439

Please sign in to comment.