Changeset e4c166a


Ignore:
Timestamp:
08/30/17 19:28:58 (5 years ago)
Author:
Philipp Spitzer <philipp@…>
Branches:
master, qt5
Children:
511ff7e
Parents:
330b8cb
git-author:
Martín Ferrari <tincho@…> (08/27/17 22:56:10)
git-committer:
Philipp Spitzer <philipp@…> (08/30/17 19:28:58)
Message:

Write debug message in case of silently catched exceptions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gui/mainwindow.cpp

    r330b8cb re4c166a  
    311311        // end of optimization
    312312        // initTabs();
    313     } catch (OrmException& e) {
     313    } catch (const OrmException& e) {
     314        qDebug() << "OrmException:" << e.text();
    314315        // cannon set an active conference
    315316        unsetConference();   // TODO: as no active conference is now correctly managed this should be handled as a fatal error
     
    406407    try {
    407408        initTabs();
    408     } catch (OrmException) {
     409    } catch (const OrmException& e) {
     410        qDebug() << "OrmException:" << e.text();
    409411        clearTabs();
    410412    }
Note: See TracChangeset for help on using the changeset viewer.