summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/lib/logger.cc
diff options
context:
space:
mode:
authorThomas Habets <thomas@habets.se>2019-12-21 19:38:44 +0000
committerMartin Braun <martin.braun@ettus.com>2020-01-01 19:40:43 -0800
commit183a35ee554fd2034acbc5ac91e32abd046d5de1 (patch)
treeeb77ac056d06a81c2a9e2c9f7b4901cac63077d3 /gnuradio-runtime/lib/logger.cc
parent24725470892c770b8f0cd5f839588a8a5125caa6 (diff)
Remove newlines from exception messages
Diffstat (limited to 'gnuradio-runtime/lib/logger.cc')
-rw-r--r--gnuradio-runtime/lib/logger.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnuradio-runtime/lib/logger.cc b/gnuradio-runtime/lib/logger.cc
index ce2772cadf..6bcac914ed 100644
--- a/gnuradio-runtime/lib/logger.cc
+++ b/gnuradio-runtime/lib/logger.cc
@@ -194,7 +194,7 @@ void logger_set_level(logger_ptr logger, const std::string& level)
else if (nocase == "emerg")
logger_set_level(logger, log4cpp::Priority::EMERG);
else
- throw std::runtime_error("logger_set_level: Bad level type.\n");
+ throw std::runtime_error("logger_set_level: Bad level type.");
}
void logger_set_level(logger_ptr logger, log4cpp::Priority::Value level)