aboutsummaryrefslogtreecommitdiff
path: root/framework/Exceptions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Exceptions.cpp')
-rw-r--r--framework/Exceptions.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/framework/Exceptions.cpp b/framework/Exceptions.cpp
index 46b1eac974..3d6c65c181 100644
--- a/framework/Exceptions.cpp
+++ b/framework/Exceptions.cpp
@@ -23,6 +23,8 @@
*/
#include "Exceptions.h"
+#include "Utils.h"
+
#include <map>
#include <sstream>
@@ -47,7 +49,7 @@ LogLevel log_level_from_name(const std::string &name)
try
{
- return levels.at(name);
+ return levels.at(tolower(name));
}
catch(const std::out_of_range &)
{