Remove potentially dangerous recursive call.
This commit is contained in:
parent
c971c434d1
commit
c8743fce64
|
@ -222,8 +222,7 @@ public class HystrixInstrumentation extends Instrumenter.Default {
|
||||||
delegate.onError(e);
|
delegate.onError(e);
|
||||||
} catch (final Throwable e2) {
|
} catch (final Throwable e2) {
|
||||||
DECORATE.onError(span, e2);
|
DECORATE.onError(span, e2);
|
||||||
// This recursive call might be dangerous... not sure what the best response is.
|
throw e2;
|
||||||
onError(e2);
|
|
||||||
} finally {
|
} finally {
|
||||||
DECORATE.beforeFinish(span);
|
DECORATE.beforeFinish(span);
|
||||||
span.finish();
|
span.finish();
|
||||||
|
|
Loading…
Reference in New Issue