Remove potentially dangerous recursive call.

This commit is contained in:
Tyler Benson 2019-04-30 14:53:15 -07:00
parent c971c434d1
commit c8743fce64
1 changed files with 1 additions and 2 deletions

View File

@ -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();