When DBDeadlock in karbor-api service, it get the following error:
AttributeError: 'DBDeadlock' object has no attribute 'message'.
This patch corrects that problem.
Change-Id: I1b268f5cca2c4efdcfb055d2fd8dfe522e6daf9d
Closes-Bug: #1891571
After installing karbor from source code, with executing
karbor related command, for example 'karbor service-list',
it returns 500 with 'The server has either erred or is
incapable of performing the requested operation. (HTTP 500)'.
In karbor api log, we can not find any useful word to point
out where the error occurs. So we should add error message
in FaltWrapper to record the error reason.
Closes-Bug: #1801920
Change-Id: I3e7e00d8a48d5cea38d4fb1ca0e62d558598bf6d