This commit is contained in:
Mike Place 2015-03-10 16:31:34 -06:00
parent 1e5d40584d
commit aa76f2f3b8

View File

@ -42,7 +42,7 @@ import salt.utils.verify
import salt.utils.jid
import salt.syspaths as syspaths
from salt.exceptions import (
EauthAuthenticationError, SaltInvocationError, SaltReqTimeoutError
EauthAuthenticationError, SaltInvocationError, SaltReqTimeoutError, SaltClientError
)
import salt.ext.six as six
@ -1113,7 +1113,7 @@ class LocalClient(object):
try:
data = self.returners['{0}.get_jid'.format(self.opts['master_job_cache'])](jid)
except Exception:
except Exception as exc:
raise SaltClientError('Could not examine master job cache. '
'Error occured in {0} returner. '
'Exception details: {1}'.format(self.opts['master_job_cache'],