refactor(mpd): Print error on mpd_exception

This commit is contained in:
patrick96 2018-02-13 22:17:01 +01:00 committed by NBonaparte
parent 81d2d09ba9
commit d2a7b0269c

View File

@ -144,7 +144,7 @@ namespace modules {
m_mpd->connect(); m_mpd->connect();
} }
} catch (const mpd_exception& err) { } catch (const mpd_exception& err) {
m_log.trace("%s: %s", name(), err.what()); m_log.err("%s: %s", name(), err.what());
m_mpd.reset(); m_mpd.reset();
return def; return def;
} }