mistral-dashboard/_50_mistral.py.example
Zhenguo Niu 54a6db0a83 Add mistral APIException as a Recoverable Exception
currently we can't handle api exceptions, so add mistral api
exception to Recoverable list

Change-Id: I7afeb0b1c900b9fb1854a9eebc768acf0a9c4c89
Closes-Bug: #1483653
2015-08-11 19:04:00 +08:00

12 lines
269 B
Plaintext

from mistraldashboard import exceptions
DASHBOARD = 'mistral'
ADD_INSTALLED_APPS = ['mistraldashboard']
DEFAULT = True
ADD_EXCEPTIONS = {
'recoverable': exceptions.RECOVERABLE,
'not_found': exceptions.NOT_FOUND,
'unauthorized': exceptions.UNAUTHORIZED,
}