Changeset 215 in pacpusframework


Ignore:
Timestamp:
11/07/13 14:18:52 (11 years ago)
Author:
Marek Kurdej
Message:

Fixed: PacpusApplication exception handling.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/PacpusLib/PacpusApplication.cpp

    r184 r215  
    99/// @copyright Copyright (c) UTC/CNRS Heudiasyc 2006 - 2013. All rights reserved.
    1010
     11#include <boost/exception/diagnostic_information.hpp>
     12#include <boost/exception/exception.hpp>
    1113#include <csignal>
    1214#include <Pacpus/kernel/Log.h>
     
    9092        (void) e; // unused
    9193        LOG_ERROR("PacpusException thrown:" << e.what());
     94    } catch(boost::exception & e) {
     95        (void) e; // unused
     96        LOG_ERROR("boost::exception thrown:" << boost::diagnostic_information(e));
    9297    } catch(std::exception & e) {
    9398        (void) e; // unused
Note: See TracChangeset for help on using the changeset viewer.