summaryrefslogtreecommitdiff
path: root/ick2/apibase.py
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2018-04-19 22:31:01 +0300
committerLars Wirzenius <liw@liw.fi>2018-04-19 22:31:01 +0300
commitf11a8ecd409f280759af7227db52b1e87e389092 (patch)
tree191dc9e4dda2444fb65bcf097056ef37d5a685bc /ick2/apibase.py
parent04e899ded340bc0fd3afd6b0a62dff22c182e735 (diff)
downloadick2-f11a8ecd409f280759af7227db52b1e87e389092.tar.gz
Change: trigger a project, build all pipelines in the project
Diffstat (limited to 'ick2/apibase.py')
-rw-r--r--ick2/apibase.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ick2/apibase.py b/ick2/apibase.py
index 13b258a..50b8390 100644
--- a/ick2/apibase.py
+++ b/ick2/apibase.py
@@ -100,10 +100,10 @@ class APIbase:
ick2.log.log(
'warning', msg_text='PUT Not found', kwargs=kwargs)
return ick2.not_found(e)
- except ick2.WrongPipelineStatus as e:
+ except ick2.WrongProjectStatus as e:
ick2.log.log(
'error',
- msg_text='Wrong state for pipeline',
+ msg_text='Wrong state for project',
exception=str(e))
return ick2.bad_request(e)
ick2.log.log('trace', msg_text='returned body', body=repr(body))