Skip to content

Commit dcf1f66

Browse files
committed
HHH-12778 Register the cause when an exception occurs creating a proxy
1 parent 8757ee4 commit dcf1f66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hibernate-core/src/main/java/org/hibernate/bytecode/internal/bytebuddy/BasicProxyFactoryImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public Object getProxy() {
5454
return proxy;
5555
}
5656
catch (Throwable t) {
57-
throw new HibernateException( "Unable to instantiate proxy instance" );
57+
throw new HibernateException( "Unable to instantiate proxy instance", t );
5858
}
5959
}
6060

0 commit comments

Comments
 (0)