From d2a7b0269c6c6e23e53041525dc547eb160ed173 Mon Sep 17 00:00:00 2001
From: patrick96
Date: Tue, 13 Feb 2018 22:17:01 +0100
Subject: [PATCH] refactor(mpd): Print error on mpd_exception
---
src/modules/mpd.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/modules/mpd.cpp b/src/modules/mpd.cpp
index 515d402b..3d0f86b1 100644
--- a/src/modules/mpd.cpp
+++ b/src/modules/mpd.cpp
@@ -144,7 +144,7 @@ namespace modules {
m_mpd->connect();
}
} catch (const mpd_exception& err) {
- m_log.trace("%s: %s", name(), err.what());
+ m_log.err("%s: %s", name(), err.what());
m_mpd.reset();
return def;
}