Skip to content

Commit

Permalink
test(exporter-logs-otlp-grpc): improve error reporting in particular …
Browse files Browse the repository at this point in the history
…test failure (open-telemetry#4953)
  • Loading branch information
trentm authored and Zirak committed Sep 14, 2024
1 parent 50f7b94 commit 8674db6
Showing 1 changed file with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,17 @@ const testCollectorExporter = (params: TestParams) => {
server.bindAsync(
serverAddr.protocol === 'https:' ? serverAddr.host : address,
credentials,
() => {
server.start();
done();
err => {
if (err) {
done(err);
} else {
server.start();
done();
}
}
);
});
})
.catch(done);
});

after(() => {
Expand Down

0 comments on commit 8674db6

Please sign in to comment.