953: do not stop chain processing (#954)

This commit is contained in:
essepuig
2018-04-23 20:52:27 +02:00
committed by Marcin Grzejszczak
parent 2141cf5b44
commit b24e2bcfe4

View File

@@ -384,6 +384,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