mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Do not log errors from initial database statements
This commit is contained in:
@@ -49,10 +49,7 @@ DatabaseCon::DatabaseCon (Setup const& setup,
|
||||
}
|
||||
catch (soci::soci_error& e)
|
||||
{
|
||||
WriteLog (lsWARNING, DatabaseCon)
|
||||
<< "Error executing initial statements for: " << strName
|
||||
<< " error: " << e.what () << "\n"
|
||||
<< " statement: " << initStrings[i];
|
||||
// ignore errors
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
#include <vector>
|
||||
|
||||
namespace sqlite_api {
|
||||
class sqlite3;
|
||||
struct sqlite3;
|
||||
}
|
||||
|
||||
namespace ripple {
|
||||
|
||||
Reference in New Issue
Block a user