{"action":"created","comment":{"url":"https://api.github.com/repos/dainst/cilantro/pulls/comments/224372621","pull_request_review_id":163719026,"id":224372621,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNDM3MjYyMQ==","diff_hunk":"@@ -86,7 +87,14 @@ def run(self, prev_result=None, **params):\n         # results can also be part of the params array in some cases\n         if 'result' in params:\n             self._add_prev_result_to_results(params['result'])\n-        return self._merge_result(self.execute_task())\n+\n+        try:\n+            task_result = self.execute_task()\n+        except:  # noqa: ignore bare except","path":"workers/base_task.py","position":16,"original_position":16,"commit_id":"c6e9725a653f5447a1012f60f4f9fd93f0458128","original_commit_id":"c6e9725a653f5447a1012f60f4f9fd93f0458128","user":{"login":"scuy","id":132811,"node_id":"MDQ6VXNlcjEzMjgxMQ==","avatar_url":"https://avatars3.githubusercontent.com/u/132811?v=4","gravatar_id":"","url":"https://api.github.com/users/scuy","html_url":"https://github.com/scuy","followers_url":"https://api.github.com/users/scuy/followers","following_url":"https://api.github.com/users/scuy/following{/other_user}","gists_url":"https://api.github.com/users/scuy/gists{/gist_id}","starred_url":"https://api.github.com/users/scuy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scuy/subscriptions","organizations_url":"https://api.github.com/users/scuy/orgs","repos_url":"https://api.github.com/users/scuy/repos","events_url":"https://api.github.com/users/scuy/events{/privacy}","received_events_url":"https://api.github.com/users/scuy/received_events","type":"User","site_admin":false},"body":"Geht so nicht die Fehlermeldung verloren? Also wie würde ich als User oder Admin herausfinden, was genau schief gelaufen ist?\r\n\r\nDie Error-Message sollte mindestens geloggt werden, besser fände ich es, wenn sie sogar in der Job-DB gespeichert würde, damit man sie über die API abfragen und im Frontend darstellen kann.","created_at":"2018-10-11T09:11:36Z","updated_at":"2018-10-11T09:31:37Z","html_url":"https://github.com/dainst/cilantro/pull/83#discussion_r224372621","pull_request_url":"https://api.github.com/repos/dainst/cilantro/pulls/83","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/dainst/cilantro/pulls/comments/224372621"},"html":{"href":"https://github.com/dainst/cilantro/pull/83#discussion_r224372621"},"pull_request":{"href":"https://api.github.com/repos/dainst/cilantro/pulls/83"}},"in_reply_to_id":224056442},"pull_request":{"url":"https://api.github.com/repos/dainst/cilantro/pulls/83","id":221770967,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIxNzcwOTY3","html_url":"https://github.com/dainst/cilantro/pull/83","diff_url":"https://github.com/dainst/cilantro/pull/83.diff","patch_url":"https://github.com/dainst/cilantro/pull/83.patch","issue_url":"https://api.github.com/repos/dainst/cilantro/issues/83","number":83,"state":"open","locked":false,"title":"Job db","user":{"login":"rhenck","id":446878,"node_id":"MDQ6VXNlcjQ0Njg3OA==","avatar_url":"https://avatars0.githubusercontent.com/u/446878?v=4","gravatar_id":"","url":"https://api.github.com/users/rhenck","html_url":"https://github.com/rhenck","followers_url":"https://api.github.com/users/rhenck/followers","following_url":"https://api.github.com/users/rhenck/following{/other_user}","gists_url":"https://api.github.com/users/rhenck/gists{/gist_id}","starred_url":"https://api.github.com/users/rhenck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhenck/subscriptions","organizations_url":"https://api.github.com/users/rhenck/orgs","repos_url":"https://api.github.com/users/rhenck/repos","events_url":"https://api.github.com/users/rhenck/events{/privacy}","received_events_url":"https://api.github.com/users/rhenck/received_events","type":"User","site_admin":false},"body":" Add job database for creation and updating of jobs.\r\n\r\nThe database used is mongoDB which runs as a separate docker service.\r\nThe logic for interacting with the DB is encapsulated is a util module.\r\n\r\nThe job_type endpoint will now create a job in the job database.\r\nThis job can be updated by tasks belonging to the job.\r\n\r\nThe 'create_object' task sets the state to 'running', as this is\r\nthe first task of any job.\r\nAdditionally a new task 'finish_job' is introduced that sets the\r\nstate of the job to 'success'. It is supposed to be the last in\r\nthe task list.\r\nIn case of any task erroring out the base_task will catch any(!)\r\nexception and set the job status to 'failed'.\r\n\r\nThe job controller gets a new endpoint to query all jobs of the logged\r\nin user. They are delivered in JSON as list ob objects.","created_at":"2018-10-10T12:31:48Z","updated_at":"2018-10-11T09:31:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f740559ee91318a93a039a8cf2a9b6c777444bb8","assignee":null,"assignees":[],"requested_reviewers":[{"login":"ngrippa","id":31273958,"node_id":"MDQ6VXNlcjMxMjczOTU4","avatar_url":"https://avatars2.githubusercontent.com/u/31273958?v=4","gravatar_id":"","url":"https://api.github.com/users/ngrippa","html_url":"https://github.com/ngrippa","followers_url":"https://api.github.com/users/ngrippa/followers","following_url":"https://api.github.com/users/ngrippa/following{/other_user}","gists_url":"https://api.github.com/users/ngrippa/gists{/gist_id}","starred_url":"https://api.github.com/users/ngrippa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngrippa/subscriptions","organizations_url":"https://api.github.com/users/ngrippa/orgs","repos_url":"https://api.github.com/users/ngrippa/repos","events_url":"https://api.github.com/users/ngrippa/events{/privacy}","received_events_url":"https://api.github.com/users/ngrippa/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/dainst/cilantro/pulls/83/commits","review_comments_url":"https://api.github.com/repos/dainst/cilantro/pulls/83/comments","review_comment_url":"https://api.github.com/repos/dainst/cilantro/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dainst/cilantro/issues/83/comments","statuses_url":"https://api.github.com/repos/dainst/cilantro/statuses/c6e9725a653f5447a1012f60f4f9fd93f0458128","head":{"label":"dainst:job_db","ref":"job_db","sha":"c6e9725a653f5447a1012f60f4f9fd93f0458128","user":{"login":"dainst","id":6999926,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY5OTk5MjY=","avatar_url":"https://avatars2.githubusercontent.com/u/6999926?v=4","gravatar_id":"","url":"https://api.github.com/users/dainst","html_url":"https://github.com/dainst","followers_url":"https://api.github.com/users/dainst/followers","following_url":"https://api.github.com/users/dainst/following{/other_user}","gists_url":"https://api.github.com/users/dainst/gists{/gist_id}","starred_url":"https://api.github.com/users/dainst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dainst/subscriptions","organizations_url":"https://api.github.com/users/dainst/orgs","repos_url":"https://api.github.com/users/dainst/repos","events_url":"https://api.github.com/users/dainst/events{/privacy}","received_events_url":"https://api.github.com/users/dainst/received_events","type":"Organization","site_admin":false},"repo":{"id":128898411,"node_id":"MDEwOlJlcG9zaXRvcnkxMjg4OTg0MTE=","name":"cilantro","full_name":"dainst/cilantro","private":false,"owner":{"login":"dainst","id":6999926,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY5OTk5MjY=","avatar_url":"https://avatars2.githubusercontent.com/u/6999926?v=4","gravatar_id":"","url":"https://api.github.com/users/dainst","html_url":"https://github.com/dainst","followers_url":"https://api.github.com/users/dainst/followers","following_url":"https://api.github.com/users/dainst/following{/other_user}","gists_url":"https://api.github.com/users/dainst/gists{/gist_id}","starred_url":"https://api.github.com/users/dainst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dainst/subscriptions","organizations_url":"https://api.github.com/users/dainst/orgs","repos_url":"https://api.github.com/users/dainst/repos","events_url":"https://api.github.com/users/dainst/events{/privacy}","received_events_url":"https://api.github.com/users/dainst/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/dainst/cilantro","description":"Task runner for managing long running distributed jobs","fork":false,"url":"https://api.github.com/repos/dainst/cilantro","forks_url":"https://api.github.com/repos/dainst/cilantro/forks","keys_url":"https://api.github.com/repos/dainst/cilantro/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dainst/cilantro/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dainst/cilantro/teams","hooks_url":"https://api.github.com/repos/dainst/cilantro/hooks","issue_events_url":"https://api.github.com/repos/dainst/cilantro/issues/events{/number}","events_url":"https://api.github.com/repos/dainst/cilantro/events","assignees_url":"https://api.github.com/repos/dainst/cilantro/assignees{/user}","branches_url":"https://api.github.com/repos/dainst/cilantro/branches{/branch}","tags_url":"https://api.github.com/repos/dainst/cilantro/tags","blobs_url":"https://api.github.com/repos/dainst/cilantro/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dainst/cilantro/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dainst/cilantro/git/refs{/sha}","trees_url":"https://api.github.com/repos/dainst/cilantro/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dainst/cilantro/statuses/{sha}","languages_url":"https://api.github.com/repos/dainst/cilantro/languages","stargazers_url":"https://api.github.com/repos/dainst/cilantro/stargazers","contributors_url":"https://api.github.com/repos/dainst/cilantro/contributors","subscribers_url":"https://api.github.com/repos/dainst/cilantro/subscribers","subscription_url":"https://api.github.com/repos/dainst/cilantro/subscription","commits_url":"https://api.github.com/repos/dainst/cilantro/commits{/sha}","git_commits_url":"https://api.github.com/repos/dainst/cilantro/git/commits{/sha}","comments_url":"https://api.github.com/repos/dainst/cilantro/comments{/number}","issue_comment_url":"https://api.github.com/repos/dainst/cilantro/issues/comments{/number}","contents_url":"https://api.github.com/repos/dainst/cilantro/contents/{+path}","compare_url":"https://api.github.com/repos/dainst/cilantro/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dainst/cilantro/merges","archive_url":"https://api.github.com/repos/dainst/cilantro/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dainst/cilantro/downloads","issues_url":"https://api.github.com/repos/dainst/cilantro/issues{/number}","pulls_url":"https://api.github.com/repos/dainst/cilantro/pulls{/number}","milestones_url":"https://api.github.com/repos/dainst/cilantro/milestones{/number}","notifications_url":"https://api.github.com/repos/dainst/cilantro/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dainst/cilantro/labels{/name}","releases_url":"https://api.github.com/repos/dainst/cilantro/releases{/id}","deployments_url":"https://api.github.com/repos/dainst/cilantro/deployments","created_at":"2018-04-10T08:18:33Z","updated_at":"2018-10-10T12:57:27Z","pushed_at":"2018-10-11T09:26:21Z","git_url":"git://github.com/dainst/cilantro.git","ssh_url":"git@github.com:dainst/cilantro.git","clone_url":"https://github.com/dainst/cilantro.git","svn_url":"https://github.com/dainst/cilantro","homepage":"","size":55504,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":2,"open_issues":6,"watchers":1,"default_branch":"master"}},"base":{"label":"dainst:master","ref":"master","sha":"0cfa845a0e30c653efb9b5fce147d5c777d37e28","user":{"login":"dainst","id":6999926,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY5OTk5MjY=","avatar_url":"https://avatars2.githubusercontent.com/u/6999926?v=4","gravatar_id":"","url":"https://api.github.com/users/dainst","html_url":"https://github.com/dainst","followers_url":"https://api.github.com/users/dainst/followers","following_url":"https://api.github.com/users/dainst/following{/other_user}","gists_url":"https://api.github.com/users/dainst/gists{/gist_id}","starred_url":"https://api.github.com/users/dainst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dainst/subscriptions","organizations_url":"https://api.github.com/users/dainst/orgs","repos_url":"https://api.github.com/users/dainst/repos","events_url":"https://api.github.com/users/dainst/events{/privacy}","received_events_url":"https://api.github.com/users/dainst/received_events","type":"Organization","site_admin":false},"repo":{"id":128898411,"node_id":"MDEwOlJlcG9zaXRvcnkxMjg4OTg0MTE=","name":"cilantro","full_name":"dainst/cilantro","private":false,"owner":{"login":"dainst","id":6999926,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY5OTk5MjY=","avatar_url":"https://avatars2.githubusercontent.com/u/6999926?v=4","gravatar_id":"","url":"https://api.github.com/users/dainst","html_url":"https://github.com/dainst","followers_url":"https://api.github.com/users/dainst/followers","following_url":"https://api.github.com/users/dainst/following{/other_user}","gists_url":"https://api.github.com/users/dainst/gists{/gist_id}","starred_url":"https://api.github.com/users/dainst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dainst/subscriptions","organizations_url":"https://api.github.com/users/dainst/orgs","repos_url":"https://api.github.com/users/dainst/repos","events_url":"https://api.github.com/users/dainst/events{/privacy}","received_events_url":"https://api.github.com/users/dainst/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/dainst/cilantro","description":"Task runner for managing long running distributed jobs","fork":false,"url":"https://api.github.com/repos/dainst/cilantro","forks_url":"https://api.github.com/repos/dainst/cilantro/forks","keys_url":"https://api.github.com/repos/dainst/cilantro/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dainst/cilantro/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dainst/cilantro/teams","hooks_url":"https://api.github.com/repos/dainst/cilantro/hooks","issue_events_url":"https://api.github.com/repos/dainst/cilantro/issues/events{/number}","events_url":"https://api.github.com/repos/dainst/cilantro/events","assignees_url":"https://api.github.com/repos/dainst/cilantro/assignees{/user}","branches_url":"https://api.github.com/repos/dainst/cilantro/branches{/branch}","tags_url":"https://api.github.com/repos/dainst/cilantro/tags","blobs_url":"https://api.github.com/repos/dainst/cilantro/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dainst/cilantro/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dainst/cilantro/git/refs{/sha}","trees_url":"https://api.github.com/repos/dainst/cilantro/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dainst/cilantro/statuses/{sha}","languages_url":"https://api.github.com/repos/dainst/cilantro/languages","stargazers_url":"https://api.github.com/repos/dainst/cilantro/stargazers","contributors_url":"https://api.github.com/repos/dainst/cilantro/contributors","subscribers_url":"https://api.github.com/repos/dainst/cilantro/subscribers","subscription_url":"https://api.github.com/repos/dainst/cilantro/subscription","commits_url":"https://api.github.com/repos/dainst/cilantro/commits{/sha}","git_commits_url":"https://api.github.com/repos/dainst/cilantro/git/commits{/sha}","comments_url":"https://api.github.com/repos/dainst/cilantro/comments{/number}","issue_comment_url":"https://api.github.com/repos/dainst/cilantro/issues/comments{/number}","contents_url":"https://api.github.com/repos/dainst/cilantro/contents/{+path}","compare_url":"https://api.github.com/repos/dainst/cilantro/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dainst/cilantro/merges","archive_url":"https://api.github.com/repos/dainst/cilantro/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dainst/cilantro/downloads","issues_url":"https://api.github.com/repos/dainst/cilantro/issues{/number}","pulls_url":"https://api.github.com/repos/dainst/cilantro/pulls{/number}","milestones_url":"https://api.github.com/repos/dainst/cilantro/milestones{/number}","notifications_url":"https://api.github.com/repos/dainst/cilantro/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dainst/cilantro/labels{/name}","releases_url":"https://api.github.com/repos/dainst/cilantro/releases{/id}","deployments_url":"https://api.github.com/repos/dainst/cilantro/deployments","created_at":"2018-04-10T08:18:33Z","updated_at":"2018-10-10T12:57:27Z","pushed_at":"2018-10-11T09:26:21Z","git_url":"git://github.com/dainst/cilantro.git","ssh_url":"git@github.com:dainst/cilantro.git","clone_url":"https://github.com/dainst/cilantro.git","svn_url":"https://github.com/dainst/cilantro","homepage":"","size":55504,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":2,"open_issues":6,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dainst/cilantro/pulls/83"},"html":{"href":"https://github.com/dainst/cilantro/pull/83"},"issue":{"href":"https://api.github.com/repos/dainst/cilantro/issues/83"},"comments":{"href":"https://api.github.com/repos/dainst/cilantro/issues/83/comments"},"review_comments":{"href":"https://api.github.com/repos/dainst/cilantro/pulls/83/comments"},"review_comment":{"href":"https://api.github.com/repos/dainst/cilantro/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dainst/cilantro/pulls/83/commits"},"statuses":{"href":"https://api.github.com/repos/dainst/cilantro/statuses/c6e9725a653f5447a1012f60f4f9fd93f0458128"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"scuy"}}