From f3628a439aa1d55609ba16438eb4bc58c9ffd1fe Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Wed, 14 Dec 2016 19:56:14 +0000 Subject: [PATCH] Don't log exception when just rethrowing it --- src/gui/query/editor_closed_query.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gui/query/editor_closed_query.h b/src/gui/query/editor_closed_query.h index 078775e0..4f22cdb6 100644 --- a/src/gui/query/editor_closed_query.h +++ b/src/gui/query/editor_closed_query.h @@ -42,7 +42,6 @@ public: return json; } catch (YAML::RepresentationException& e) { - BOOST_LOG_TRIVIAL(error) << "Error while closing editor: " << e.what(); throw YAML::RepresentationException(YAML::Mark::null_mark(), e.msg); } }