From cfe5537fe1d55b1d01fdc20ea4e466ac7865a77c Mon Sep 17 00:00:00 2001
From: Theodoros Katzalis <thodkatz@gmail.com>
Date: Sun, 17 Mar 2019 18:48:41 +0200
Subject: [PATCH] Fix a small bug in ErrorHandler: Replace the
 `UnknownInternalError` to `errorCode`

---
 src/ErrorHandler.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/ErrorHandler.cpp b/src/ErrorHandler.cpp
index d689ab1a..2dd2ed03 100644
--- a/src/ErrorHandler.cpp
+++ b/src/ErrorHandler.cpp
@@ -29,7 +29,7 @@ void ErrorHandler::reportError(const Message &message, RoutingErrorType errorCod
 }
 
 void ErrorHandler::reportInternalError(ErrorHandler::InternalErrorType errorCode) {
-	logError(UnknownInternalError);
+	logError(errorCode);
 }
 
 template<typename ErrorType>
-- 
GitLab