Browse Source

Throw the exact (same) exception

adaptive-webui-19844
Chocobo1 4 years ago
parent
commit
05e3e46f5a
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 4
      src/base/bittorrent/dbresumedatastorage.cpp

4
src/base/bittorrent/dbresumedatastorage.cpp

@ -389,7 +389,7 @@ void BitTorrent::DBResumeDataStorage::createDB() const @@ -389,7 +389,7 @@ void BitTorrent::DBResumeDataStorage::createDB() const
catch (const RuntimeError &err)
{
db.rollback();
throw err;
throw;
}
}
@ -566,7 +566,7 @@ void BitTorrent::DBResumeDataStorage::Worker::storeQueue(const QVector<TorrentID @@ -566,7 +566,7 @@ void BitTorrent::DBResumeDataStorage::Worker::storeQueue(const QVector<TorrentID
catch (const RuntimeError &err)
{
db.rollback();
throw err;
throw;
}
}
catch (const RuntimeError &err)

Loading…
Cancel
Save