Skip to content

Commit

Permalink
better loging for mv compare issues
Browse files Browse the repository at this point in the history
Summary: just adding different logs for these two cases

Differential Revision: D15929066

fbshipit-source-id: 63127c8321a65e25b4d169ed22b82b41044469d9
  • Loading branch information
jstrizich authored and facebook-github-bot committed Jun 21, 2019
1 parent e54a27a commit 4399a37
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion openr/decision/Decision.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -947,8 +947,11 @@ SpfSolver::SpfSolverImpl::createBGPRoute(
nodes.emplace(name);
break;
case MetricVectorUtils::CompareResult::TIE:
LOG(ERROR) << "Tie ordering prefix entries. Skipping route for prefix: "
<< toString(prefix);
return folly::none;
case MetricVectorUtils::CompareResult::ERROR:
LOG(ERROR) << "Cannot order prefix entries. Skipping route for prefix: "
LOG(ERROR) << "Error ordering prefix entries. Skipping route for prefix: "
<< toString(prefix);
return folly::none;
default:
Expand Down

0 comments on commit 4399a37

Please sign in to comment.