mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-29 20:59:45 +01:00
- removed position parameter to setParamSetSize() (not used)
- execute call in SQLChannel wrapped in try-catch
This commit is contained in:
@@ -142,7 +142,14 @@ void SQLChannel::logSync(const Message& msg)
|
||||
_dateTime = msg.getTime();
|
||||
if (_source.empty()) _source = _name;
|
||||
|
||||
_pLogStatement->execute();
|
||||
try
|
||||
{
|
||||
_pLogStatement->execute();
|
||||
}
|
||||
catch (Exception&)
|
||||
{
|
||||
if (_throw) throw;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user