Changes between Version 192 and Version 193 of WikiStart


Ignore:
Timestamp:
Dec 26, 2017, 3:01:28 PM (3 weeks ago)
Author:
jtv
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v192 v193  
    161161    do_db_work(trans);
    162162  }
    163   catch (const std::exception &e)
    164   {
    165     std::cerr << e.what() << std::endl;
    166     return 1;
    167   }
    168163  catch (const pqxx::sql_error &e)
    169164  {
     
    172167        << "Query was: " << e.query() << std::endl;
    173168    return 2;
     169  }
     170  catch (const std::exception &e)
     171  {
     172    std::cerr << e.what() << std::endl;
     173    return 1;
    174174  }
    175175}