From 110cb8254f4719a35ea0ee636a0111580a5f8c0a Mon Sep 17 00:00:00 2001 From: buildmaster Date: Mon, 23 Apr 2018 18:53:56 +0000 Subject: [PATCH] Sync docs from master to gh-pages --- multi/multi__customizations.html | 1 + single/spring-cloud-sleuth.html | 1 + spring-cloud-sleuth.xml | 1 + 3 files changed, 3 insertions(+) diff --git a/multi/multi__customizations.html b/multi/multi__customizations.html index 6ba45bb2b..2555d14b8 100644 --- a/multi/multi__customizations.html +++ b/multi/multi__customizations.html @@ -42,6 +42,7 @@ You can customize the tags or modify the response headers by registering your ow FilterChain chain) throws IOException, ServletException { Span currentSpan = this.tracer.currentSpan(); if (currentSpan == null) { + chain.doFilter(request, response); return; } // for readability we're returning trace id in a hex form diff --git a/single/spring-cloud-sleuth.html b/single/spring-cloud-sleuth.html index cc8423089..2c4ceaf3d 100644 --- a/single/spring-cloud-sleuth.html +++ b/single/spring-cloud-sleuth.html @@ -638,6 +638,7 @@ You can customize the tags or modify the response headers by registering your ow FilterChain chain) throws IOException, ServletException { Span currentSpan = this.tracer.currentSpan(); if (currentSpan == null) { + chain.doFilter(request, response); return; } // for readability we're returning trace id in a hex form diff --git a/spring-cloud-sleuth.xml b/spring-cloud-sleuth.xml index 5a7e8ec6b..bacc945b3 100644 --- a/spring-cloud-sleuth.xml +++ b/spring-cloud-sleuth.xml @@ -1434,6 +1434,7 @@ class MyFilter extends GenericFilterBean { FilterChain chain) throws IOException, ServletException { Span currentSpan = this.tracer.currentSpan(); if (currentSpan == null) { + chain.doFilter(request, response); return; } // for readability we're returning trace id in a hex form