summaryrefslogtreecommitdiffstats
path: root/module/obmc/wsgi
diff options
context:
space:
mode:
Diffstat (limited to 'module/obmc/wsgi')
-rw-r--r--module/obmc/wsgi/apps/rest_dbus.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/obmc/wsgi/apps/rest_dbus.py b/module/obmc/wsgi/apps/rest_dbus.py
index 6066126..f52032a 100644
--- a/module/obmc/wsgi/apps/rest_dbus.py
+++ b/module/obmc/wsgi/apps/rest_dbus.py
@@ -922,7 +922,7 @@ class CertificateHandler:
iface.Install(temp.name)
except Exception as e:
cleanup()
- abort(503, str(e))
+ abort(400, str(e))
cleanup()
def do_delete(self):
OpenPOWER on IntegriCloud