mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-17 16:44:57 +00:00
HHH-12778 Register the cause when an exception occurs creating a proxy
This commit is contained in:
parent
1e9f67fbc9
commit
147476038b
@ -54,7 +54,7 @@ public Object getProxy() {
|
||||
return proxy;
|
||||
}
|
||||
catch (Throwable t) {
|
||||
throw new HibernateException( "Unable to instantiate proxy instance" );
|
||||
throw new HibernateException( "Unable to instantiate proxy instance", t );
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user