[Interest] Survey: do you override QCoreApplication::notify? Why?

Thiago Macieira thiago.macieira at intel.com
Fri Apr 17 08:51:54 CEST 2015


On Friday 17 April 2015 08:41:35 André Somers wrote:
> Thiago Macieira schreef op 16-4-2015 om 18:16:
> > On Thursday 16 April 2015 12:35:36 Boudewijn Rempt wrote:
> >>> 2) use it to catch exceptions and continue execution?
> >>> 
> >>>      or use it to catch and abort?
> >> 
> >> We don't continue after an exception, but catch, log and abort.
> > 
> > Like I replied to Björn, std::terminate already does that.
> 
> Including the logging part?

It prints the exception type to stderr. If you want to log something different, 
install a different terminate handler.
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list