Skip to content

Commit

Permalink
Refactor: PassiveDurabilityMonitor::throwException
Browse files Browse the repository at this point in the history
The PDM throwException didn't use the PDM prefix and needed
a space between the vb and error.

Change-Id: I19e756c93504d4322a37a8ae61ba81c8799863eb
Reviewed-on: http://review.couchbase.org/112047
Reviewed-by: Dave Rigby <daver@couchbase.com>
Tested-by: Trond Norbye <trond.norbye@couchbase.com>
  • Loading branch information
jimwwalker authored and trondn committed Jul 17, 2019
1 parent 8564ed0 commit 70a4d0a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion engines/ep/src/durability/passive_durability_monitor.cc
Expand Up @@ -528,5 +528,6 @@ void PassiveDurabilityMonitor::State::checkForAndRemovePrepares() {
template <class exception>
[[noreturn]] void PassiveDurabilityMonitor::throwException(
const std::string& thrower, const std::string& error) const {
throw exception(thrower + error + vb.getId().to_string());
throw exception("PassiveDurabilityMonitor::" + thrower + " " +
vb.getId().to_string() + " " + error);
}

0 comments on commit 70a4d0a

Please sign in to comment.