refactor(mpd): Print error on mpd_exception
This commit is contained in:
parent
81d2d09ba9
commit
d2a7b0269c
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user