diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..283d918 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,4 @@ +image: ubuntu:latest + +before_script: + - echo "Hello world!" diff --git a/index.js b/index.js index b1e546d..8694cbe 100644 --- a/index.js +++ b/index.js @@ -94,6 +94,8 @@ app.post('/', function(req, res) { var msgs = null; if (body.object_kind && handlers[body.object_kind]) msgs = handlers[body.object_kind](body); + else + console.log("Unexpected object_kind:", body.object_kind); if (msgs) { if (msgs instanceof Array) {