From f11a8ecd409f280759af7227db52b1e87e389092 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Thu, 19 Apr 2018 22:31:01 +0300 Subject: Change: trigger a project, build all pipelines in the project --- ick2/apibase.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ick2/apibase.py') 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)) -- cgit v1.2.1