- } catch( const char* c ) {
- logger::error( "Exception: ", c );
- } catch( const std::string& c ) {
- logger::error( "Exception: ", c );
- } catch ( std::exception &e ){
- logger::errorf ( "Exception while fetchJob: %s", e.what() );
+ } catch( std::exception& e ) {
+ logger::errorf( "std::exception in mainloop: %s", e.what() );