projects
/
osm
/
common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ffda64
)
Change default error code from 500 to 503 in case message is not ready
91/6291/1
v4.0
BUILD_v4.0.1_1
BUILD_v4.0.1_2
author
tierno
<alfonso.tiernosepulveda@telefonica.com>
Wed, 20 Jun 2018 15:37:17 +0000
(17:37 +0200)
committer
tierno
<alfonso.tiernosepulveda@telefonica.com>
Wed, 20 Jun 2018 15:42:57 +0000
(17:42 +0200)
Change-Id: Idf80ca72948c8298ba0789d48b1aff941b626bb3
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
osm_common/msgbase.py
patch
|
blob
|
history
diff --git
a/osm_common/msgbase.py
b/osm_common/msgbase.py
index
98f97bf
..
2b338df
100644
(file)
--- a/
osm_common/msgbase.py
+++ b/
osm_common/msgbase.py
@@
-10,7
+10,7
@@
class MsgException(Exception):
Base Exception class for all msgXXXX exceptions
"""
- def __init__(self, message, http_code=HTTPStatus.
INTERNAL_SERVER_ERROR
):
+ def __init__(self, message, http_code=HTTPStatus.
SERVICE_UNAVAILABLE
):
"""
General exception
:param message: descriptive text