diff options
author | Lars Wirzenius <liw@liw.fi> | 2018-07-26 10:37:51 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2018-07-26 10:37:51 +0300 |
commit | 070edf9b2f55bdf50f84d2deb13a214031fce35d (patch) | |
tree | ec09dfba77478fd97f3356f5bcdd4d8baa335b33 /ick2/apibase.py | |
parent | 44abb5b581b33dad7309cc36f65e3b6649c8886d (diff) | |
download | ick2-070edf9b2f55bdf50f84d2deb13a214031fce35d.tar.gz |
Change: upon triggering build, check project defines all parameters
Diffstat (limited to 'ick2/apibase.py')
-rw-r--r-- | ick2/apibase.py | 3 |
1 files changed, 3 insertions, 0 deletions
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, |