From 070edf9b2f55bdf50f84d2deb13a214031fce35d Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Thu, 26 Jul 2018 10:37:51 +0300 Subject: Change: upon triggering build, check project defines all parameters --- ick2/apibase.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ick2/apibase.py') diff --git a/ick2/apibase.py b/ick2/apibase.py index b629f68..a7b3927 100644 --- a/ick2/apibase.py +++ b/ick2/apibase.py @@ -61,6 +61,9 @@ class APIbase: if 'raw_uri_path' in kwargs: del kwargs['raw_uri_path'] body = callback(**kwargs) + except ick2.ParametersMissing as e: + ick2.log.log('error', msg_text=str(e), kwargs=kwargs) + return ick2.not_found(str(e)) except ick2.NotFound as e: ick2.log.log( 'error', msg_text='GET Not found', kwargs=kwargs, -- cgit v1.2.1