Details
-
Bug
-
Status: Closed
-
TBD
-
Resolution: Fixed
-
OpenMRS 1.8.3
-
None
-
Low
Description
In HibernateSerializedObjectDAO.convertSerializedObject there's a "catch (Exception e)" that consumes the exception, instead throwing a generic "Unable to deserialize" exception that doesn't let you see what happened.
We should make sure that the DAOException we throw wraps the actual underlying exception.
As a particular special-case, I think that if the underlying exception is an APIAuthenticationException, we should throw that one directly, rather than wrapping it.