Skip to content
Snippets Groups Projects
Commit f61f8f0c authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

re #53

parent bb68f5ea
No related branches found
No related tags found
No related merge requests found
...@@ -39,6 +39,9 @@ final class HooksController extends EventController ...@@ -39,6 +39,9 @@ final class HooksController extends EventController
|| !isset($payload['project']['id']) || !isset($payload['project']['id'])
|| $payload['project']['id'] != $this->gitlab_project_id || $payload['project']['id'] != $this->gitlab_project_id
) { ) {
$this->set_status(500);
$this->render_json($payload);
return;
throw new Exception('This is not a valid gitlab event'); throw new Exception('This is not a valid gitlab event');
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment