From 2ca52f2099db821fd001c907bdf0a704f0e03da4 Mon Sep 17 00:00:00 2001 From: kongr45gpen <electrovesta@gmail.com> Date: Sun, 17 Mar 2019 18:18:53 +0000 Subject: [PATCH] Fix issue in ErrorHandler: Report the correct error code for internal errors --- src/ErrorHandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ErrorHandler.cpp b/src/ErrorHandler.cpp index d62eadd5..45ce0c01 100644 --- a/src/ErrorHandler.cpp +++ b/src/ErrorHandler.cpp @@ -43,7 +43,7 @@ void ErrorHandler::reportError(const Message &message, RoutingErrorType errorCod } void ErrorHandler::reportInternalError(ErrorHandler::InternalErrorType errorCode) { - logError(UnknownInternalError); + logError(errorCode); } template<typename ErrorType> -- GitLab