Propagating exception
This commit is contained in:
parent
b01bef7a23
commit
5edff68c21
|
@ -113,6 +113,7 @@ public final class SpringRepositoryInstrumentation extends Instrumenter.Default
|
||||||
result = methodInvocation.proceed();
|
result = methodInvocation.proceed();
|
||||||
} catch (Throwable t) {
|
} catch (Throwable t) {
|
||||||
DECORATOR.onError(scope, t);
|
DECORATOR.onError(scope, t);
|
||||||
|
throw t;
|
||||||
} finally {
|
} finally {
|
||||||
DECORATOR.beforeFinish(scope);
|
DECORATOR.beforeFinish(scope);
|
||||||
scope.close();
|
scope.close();
|
||||||
|
|
Loading…
Reference in New Issue