Project

General

Profile

« Previous | Next » 

Revision 3a973027

Added by Andreas Kohlbecker about 5 years ago

ref #7106 logging if the worse case is actually happening

View differences:

cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/application/CdmRepository.java
502 502
        try {
503 503
            session = factory.getCurrentSession();
504 504
        } catch (HibernateException e) {
505
            logger.debug("Opening new session in turn of a HibernateException: " + e.getMessage());
505
            logger.warn("[#7106] Opening new session in turn of a HibernateException: " + e.getMessage());
506 506
            session = factory.openSession();
507 507
        }
508 508

  

Also available in: Unified diff