From 4d1f1cc68d78bf3615ac61d671d995c3f364c1af Mon Sep 17 00:00:00 2001 From: Max Neunhoeffer Date: Thu, 26 Jan 2017 11:19:04 +0100 Subject: [PATCH] Fix debugging output again. --- arangod/Statistics/StatisticsAgent.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arangod/Statistics/StatisticsAgent.h b/arangod/Statistics/StatisticsAgent.h index 7e7fdfff15..0c148a8865 100644 --- a/arangod/Statistics/StatisticsAgent.h +++ b/arangod/Statistics/StatisticsAgent.h @@ -101,8 +101,8 @@ class StatisticsAgent { } _statistics = statistics; - } else { - LOG(ERR) << "RequestStatisticsAgent::replace called with alias."; + } else if (_statistics != nullptr) { + LOG(ERR) << "StatisticsAgent::replace called with alias and not nullptr"; } } };