Fix MPDException to save error message
This commit is contained in:
parent
3f12eedf96
commit
b29926e041
|
@ -21,6 +21,7 @@ from mcg.utils import Utils
|
|||
class MPDException(Exception):
|
||||
def __init__(self, error):
|
||||
super(MPDException, self).__init__(self._parse_error(error))
|
||||
self._error = error
|
||||
|
||||
|
||||
def _parse_error(self, error):
|
||||
|
|
Loading…
Reference in a new issue