HHH-12778 Register the cause when an exception occurs creating a proxy

This commit is contained in:
Guillaume Smet 2018-07-09 13:17:51 +02:00
parent 8757ee4191
commit dcf1f66b8a
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ public class BasicProxyFactoryImpl implements BasicProxyFactory {
return proxy; return proxy;
} }
catch (Throwable t) { catch (Throwable t) {
throw new HibernateException( "Unable to instantiate proxy instance" ); throw new HibernateException( "Unable to instantiate proxy instance", t );
} }
} }