Commit 77736c5e authored by qxo's avatar qxo Committed by 吴晟
Browse files

okhttp OnFailureInterceptor should log exception info (#3381)

parent 54614a05
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -28,7 +28,7 @@ public class OnFailureInterceptor implements InstanceMethodsAroundInterceptor {
    @Override
    public void beforeMethod(EnhancedInstance objInst, Method method, Object[] allArguments, Class<?>[] argumentsTypes,
        MethodInterceptResult result) throws Throwable {
        ContextManager.activeSpan().errorOccurred();
        ContextManager.activeSpan().errorOccurred().log((Throwable)allArguments[1]);
    }

    @Override