Skip to content

Commit

Permalink
Throw the exact (same) exception
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocobo1 committed May 7, 2021
1 parent 6d399f0 commit 05e3e46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/base/bittorrent/dbresumedatastorage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ void BitTorrent::DBResumeDataStorage::createDB() const
catch (const RuntimeError &err)
{
db.rollback();
throw err;
throw;
}
}

Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 05e3e46

Please sign in to comment.