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 authored and fabiobrz committed Dec 6, 2024
1 parent 766e06a commit aa2a418
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 aa2a418

Please sign in to comment.