mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-01-02 05:39:48 +01:00
Add exception class to failed span of AdvancedHttpClient
This commit is contained in:
@@ -302,7 +302,8 @@ public class DefaultAdvancedHttpClientTest
|
||||
verify(tracer).span("failures");
|
||||
verify(span).label("url", "http://failing.host");
|
||||
verify(span).label("method", "DELETE");
|
||||
verify(span).label("exception", "failed");
|
||||
verify(span).label("exception", IOException.class.getName());
|
||||
verify(span).label("message", "failed");
|
||||
verify(span).failed();
|
||||
verify(span).close();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user