diff --git a/cinder/exception.py b/cinder/exception.py index 9a2b3b6b5ae..9367cae7185 100644 --- a/cinder/exception.py +++ b/cinder/exception.py @@ -46,7 +46,7 @@ CONF.register_opts(exc_log_opts) class ConvertedException(webob.exc.WSGIHTTPException): - def __init__(self, code=0, title="", explanation=""): + def __init__(self, code=400, title="", explanation=""): self.code = code self.title = title self.explanation = explanation