{"action":"created","comment":{"url":"https://api.github.com/repos/UCCNetworkingSociety/netsocadmin2/pulls/comments/230571938","pull_request_review_id":171345890,"id":230571938,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMDU3MTkzOA==","diff_hunk":"@@ -183,13 +188,16 @@ def dispatch_request(self) -> str:\n         # Check that all fields are valid\n         valid, msg = self.validate(username, password, dbname)\n         if not valid:\n+            self.logger.debug(f\"error {msg}\")\n             return self.render(mysql_error=msg, mysql_active=True)\n         # Try to create the database\n         try:\n             mysql.create_database(username, dbname, False)\n         except mysql.DatabaseAccessError as e:\n+            self.logger.debug(f\"database error {e.__cause__}\")\n             return self.render(mysql_error=e.__cause__, mysql_active=True)\n         # Success (probably should do more than just redirect to / ...)\n+        self.logger.debug(\"successful\")","path":"netsocadmin/routes/tools.py","position":47,"original_position":47,"commit_id":"8f0f5933fb2859fd9343cd89109f554632d58917","original_commit_id":"8f0f5933fb2859fd9343cd89109f554632d58917","user":{"login":"Strum355","id":18282288,"node_id":"MDQ6VXNlcjE4MjgyMjg4","avatar_url":"https://avatars3.githubusercontent.com/u/18282288?v=4","gravatar_id":"","url":"https://api.github.com/users/Strum355","html_url":"https://github.com/Strum355","followers_url":"https://api.github.com/users/Strum355/followers","following_url":"https://api.github.com/users/Strum355/following{/other_user}","gists_url":"https://api.github.com/users/Strum355/gists{/gist_id}","starred_url":"https://api.github.com/users/Strum355/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Strum355/subscriptions","organizations_url":"https://api.github.com/users/Strum355/orgs","repos_url":"https://api.github.com/users/Strum355/repos","events_url":"https://api.github.com/users/Strum355/events{/privacy}","received_events_url":"https://api.github.com/users/Strum355/received_events","type":"User","site_admin":false},"body":"The log points here need some context, if reading from the log we'll have little info as to where this was called from","created_at":"2018-11-04T00:37:39Z","updated_at":"2018-11-04T00:38:19Z","html_url":"https://github.com/UCCNetworkingSociety/netsocadmin2/pull/37#discussion_r230571938","pull_request_url":"https://api.github.com/repos/UCCNetworkingSociety/netsocadmin2/pulls/37","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/UCCNetworkingSociety/netsocadmin2/pulls/comments/230571938"},"html":{"href":"https://github.com/UCCNetworkingSociety/netsocadmin2/pull/37#discussion_r230571938"},"pull_request":{"href":"https://api.github.com/repos/UCCNetworkingSociety/netsocadmin2/pulls/37"}}},"pull_request":{"url":"https://api.github.com/repos/UCCNetworkingSociety/netsocadmin2/pulls/37","id":228149560,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI4MTQ5NTYw","html_url":"https://github.com/UCCNetworkingSociety/netsocadmin2/pull/37","diff_url":"https://github.com/UCCNetworkingSociety/netsocadmin2/pull/37.diff","patch_url":"https://github.com/UCCNetworkingSociety/netsocadmin2/pull/37.patch","issue_url":"https://api.github.com/repos/UCCNetworkingSociety/netsocadmin2/issues/37","number":37,"state":"open","locked":false,"title":"added more logging","user":{"login":"ArthanJans","id":14811493,"node_id":"MDQ6VXNlcjE0ODExNDkz","avatar_url":"https://avatars3.githubusercontent.com/u/14811493?v=4","gravatar_id":"","url":"https://api.github.com/users/ArthanJans","html_url":"https://github.com/ArthanJans","followers_url":"https://api.github.com/users/ArthanJans/followers","following_url":"https://api.github.com/users/ArthanJans/following{/other_user}","gists_url":"https://api.github.com/users/ArthanJans/gists{/gist_id}","starred_url":"https://api.github.com/users/ArthanJans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArthanJans/subscriptions","organizations_url":"https://api.github.com/users/ArthanJans/orgs","repos_url":"https://api.github.com/users/ArthanJans/repos","events_url":"https://api.github.com/users/ArthanJans/events{/privacy}","received_events_url":"https://api.github.com/users/ArthanJans/received_events","type":"User","site_admin":false},"body":"fixes #35","created_at":"2018-11-04T00:26:45Z","updated_at":"2018-11-04T00:38:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f7ca553c4e6e3e6ae84dfe66f8a4f4cff090cd31","assignee":null,"assignees":[],"requested_reviewers":[{"login":"crnbrdrck","id":15925145,"node_id":"MDQ6VXNlcjE1OTI1MTQ1","avatar_url":"https://avatars3.githubusercontent.com/u/15925145?v=4","gravatar_id":"","url":"https://api.github.com/users/crnbrdrck","html_url":"https://github.com/crnbrdrck","followers_url":"https://api.github.com/users/crnbrdrck/followers","following_url":"https://api.github.com/users/crnbrdrck/following{/other_user}","gists_url":"https://api.github.com/users/crnbrdrck/gists{/gist_id}","starred_url":"https://api.github.com/users/crnbrdrck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crnbrdrck/subscriptions","organizations_url":"https://api.github.com/users/crnbrdrck/orgs","repos_url":"https://api.github.com/users/crnbrdrck/repos","events_url":"https://api.github.com/users/crnbrdrck/events{/privacy}","received_events_url":"https://api.github.com/users/crnbrdrck/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/UCCNetworkingSociety/netsocadmin2/pulls/37/commits","review_comments_url":"https://api.github.com/repos/UCCNetworkingSociety/netsocadmin2/pulls/37/comments","review_comment_url":"https://api.github.com/repos/UCCNetworkingSociety/netsocadmin2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/UCCNetworkingSociety/netsocadmin2/issues/37/comments","statuses_url":"https://api.github.com/repos/UCCNetworkingSociety/netsocadmin2/statuses/8f0f5933fb2859fd9343cd89109f554632d58917","head":{"label":"ArthanJans:master","ref":"master","sha":"8f0f5933fb2859fd9343cd89109f554632d58917","user":{"login":"ArthanJans","id":14811493,"node_id":"MDQ6VXNlcjE0ODExNDkz","avatar_url":"https://avatars3.githubusercontent.com/u/14811493?v=4","gravatar_id":"","url":"https://api.github.com/users/ArthanJans","html_url":"https://github.com/ArthanJans","followers_url":"https://api.github.com/users/ArthanJans/followers","following_url":"https://api.github.com/users/ArthanJans/following{/other_user}","gists_url":"https://api.github.com/users/ArthanJans/gists{/gist_id}","starred_url":"https://api.github.com/users/ArthanJans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArthanJans/subscriptions","organizations_url":"https://api.github.com/users/ArthanJans/orgs","repos_url":"https://api.github.com/users/ArthanJans/repos","events_url":"https://api.github.com/users/ArthanJans/events{/privacy}","received_events_url":"https://api.github.com/users/ArthanJans/received_events","type":"User","site_admin":false},"repo":{"id":152747036,"node_id":"MDEwOlJlcG9zaXRvcnkxNTI3NDcwMzY=","name":"netsocadmin2","full_name":"ArthanJans/netsocadmin2","private":false,"owner":{"login":"ArthanJans","id":14811493,"node_id":"MDQ6VXNlcjE0ODExNDkz","avatar_url":"https://avatars3.githubusercontent.com/u/14811493?v=4","gravatar_id":"","url":"https://api.github.com/users/ArthanJans","html_url":"https://github.com/ArthanJans","followers_url":"https://api.github.com/users/ArthanJans/followers","following_url":"https://api.github.com/users/ArthanJans/following{/other_user}","gists_url":"https://api.github.com/users/ArthanJans/gists{/gist_id}","starred_url":"https://api.github.com/users/ArthanJans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArthanJans/subscriptions","organizations_url":"https://api.github.com/users/ArthanJans/orgs","repos_url":"https://api.github.com/users/ArthanJans/repos","events_url":"https://api.github.com/users/ArthanJans/events{/privacy}","received_events_url":"https://api.github.com/users/ArthanJans/received_events","type":"User","site_admin":false},"html_url":"https://github.com/ArthanJans/netsocadmin2","description":"The front page for the back side of Netsoc Services. Administrate your databases, manage your backups, install wordpress and more!","fork":true,"url":"https://api.github.com/repos/ArthanJans/netsocadmin2","forks_url":"https://api.github.com/repos/ArthanJans/netsocadmin2/forks","keys_url":"https://api.github.com/repos/ArthanJans/netsocadmin2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ArthanJans/netsocadmin2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ArthanJans/netsocadmin2/teams","hooks_url":"https://api.github.com/repos/ArthanJans/netsocadmin2/hooks","issue_events_url":"https://api.github.com/repos/ArthanJans/netsocadmin2/issues/events{/number}","events_url":"https://api.github.com/repos/ArthanJans/netsocadmin2/events","assignees_url":"https://api.github.com/repos/ArthanJans/netsocadmin2/assignees{/user}","branches_url":"https://api.github.com/repos/ArthanJans/netsocadmin2/branches{/branch}","tags_url":"https://api.github.com/repos/ArthanJans/netsocadmin2/tags","blobs_url":"https://api.github.com/repos/ArthanJans/netsocadmin2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ArthanJans/netsocadmin2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ArthanJans/netsocadmin2/git/refs{/sha}","trees_url":"https://api.github.com/repos/ArthanJans/netsocadmin2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ArthanJans/netsocadmin2/statuses/{sha}","languages_url":"https://api.github.com/repos/ArthanJans/netsocadmin2/languages","stargazers_url":"https://api.github.com/repos/ArthanJans/netsocadmin2/stargazers","contributors_url":"https://api.github.com/repos/ArthanJans/netsocadmin2/contributors","subscribers_url":"https://api.github.com/repos/ArthanJans/netsocadmin2/subscribers","subscription_url":"https://api.github.com/repos/ArthanJans/netsocadmin2/subscription","commits_url":"https://api.github.com/repos/ArthanJans/netsocadmin2/commits{/sha}","git_commits_url":"https://api.github.com/repos/ArthanJans/netsocadmin2/git/commits{/sha}","comments_url":"https://api.github.com/repos/ArthanJans/netsocadmin2/comments{/number}","issue_comment_url":"https://api.github.com/repos/ArthanJans/netsocadmin2/issues/comments{/number}","contents_url":"https://api.github.com/repos/ArthanJans/netsocadmin2/contents/{+path}","compare_url":"https://api.github.com/repos/ArthanJans/netsocadmin2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ArthanJans/netsocadmin2/merges","archive_url":"https://api.github.com/repos/ArthanJans/netsocadmin2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ArthanJans/netsocadmin2/downloads","issues_url":"https://api.github.com/repos/ArthanJans/netsocadmin2/issues{/number}","pulls_url":"https://api.github.com/repos/ArthanJans/netsocadmin2/pulls{/number}","milestones_url":"https://api.github.com/repos/ArthanJans/netsocadmin2/milestones{/number}","notifications_url":"https://api.github.com/repos/ArthanJans/netsocadmin2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ArthanJans/netsocadmin2/labels{/name}","releases_url":"https://api.github.com/repos/ArthanJans/netsocadmin2/releases{/id}","deployments_url":"https://api.github.com/repos/ArthanJans/netsocadmin2/deployments","created_at":"2018-10-12T12:26:50Z","updated_at":"2018-11-04T00:19:58Z","pushed_at":"2018-11-04T00:19:57Z","git_url":"git://github.com/ArthanJans/netsocadmin2.git","ssh_url":"git@github.com:ArthanJans/netsocadmin2.git","clone_url":"https://github.com/ArthanJans/netsocadmin2.git","svn_url":"https://github.com/ArthanJans/netsocadmin2","homepage":"https://admin.netsoc.co","size":15564,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"UCCNetworkingSociety:master","ref":"master","sha":"b579d310701ef0a6c146bda323e1837c0994c35b","user":{"login":"UCCNetworkingSociety","id":6690158,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY2OTAxNTg=","avatar_url":"https://avatars2.githubusercontent.com/u/6690158?v=4","gravatar_id":"","url":"https://api.github.com/users/UCCNetworkingSociety","html_url":"https://github.com/UCCNetworkingSociety","followers_url":"https://api.github.com/users/UCCNetworkingSociety/followers","following_url":"https://api.github.com/users/UCCNetworkingSociety/following{/other_user}","gists_url":"https://api.github.com/users/UCCNetworkingSociety/gists{/gist_id}","starred_url":"https://api.github.com/users/UCCNetworkingSociety/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UCCNetworkingSociety/subscriptions","organizations_url":"https://api.github.com/users/UCCNetworkingSociety/orgs","repos_url":"https://api.github.com/users/UCCNetworkingSociety/repos","events_url":"https://api.github.com/users/UCCNetworkingSociety/events{/privacy}","received_events_url":"https://api.github.com/users/UCCNetworkingSociety/received_events","type":"Organization","site_admin":false},"repo":{"id":93933233,"node_id":"MDEwOlJlcG9zaXRvcnk5MzkzMzIzMw==","name":"netsocadmin2","full_name":"UCCNetworkingSociety/netsocadmin2","private":false,"owner":{"login":"UCCNetworkingSociety","id":6690158,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY2OTAxNTg=","avatar_url":"https://avatars2.githubusercontent.com/u/6690158?v=4","gravatar_id":"","url":"https://api.github.com/users/UCCNetworkingSociety","html_url":"https://github.com/UCCNetworkingSociety","followers_url":"https://api.github.com/users/UCCNetworkingSociety/followers","following_url":"https://api.github.com/users/UCCNetworkingSociety/following{/other_user}","gists_url":"https://api.github.com/users/UCCNetworkingSociety/gists{/gist_id}","starred_url":"https://api.github.com/users/UCCNetworkingSociety/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UCCNetworkingSociety/subscriptions","organizations_url":"https://api.github.com/users/UCCNetworkingSociety/orgs","repos_url":"https://api.github.com/users/UCCNetworkingSociety/repos","events_url":"https://api.github.com/users/UCCNetworkingSociety/events{/privacy}","received_events_url":"https://api.github.com/users/UCCNetworkingSociety/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/UCCNetworkingSociety/netsocadmin2","description":"The front page for the back side of Netsoc Services. Administrate your databases, manage your backups, install wordpress and more!","fork":false,"url":"https://api.github.com/repos/UCCNetworkingSociety/netsocadmin2","forks_url":"https://api.github.com/repos/UCCNetworkingSociety/netsocadmin2/forks","keys_url":"https://api.github.com/repos/UCCNetworkingSociety/netsocadmin2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UCCNetworkingSociety/netsocadmin2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UCCNetworkingSociety/netsocadmin2/teams","hooks_url":"https://api.github.com/repos/UCCNetworkingSociety/netsocadmin2/hooks","issue_events_url":"https://api.github.com/repos/UCCNetworkingSociety/netsocadmin2/issues/events{/number}","events_url":"https://api.github.com/repos/UCCNetworkingSociety/netsocadmin2/events","assignees_url":"https://api.github.com/repos/UCCNetworkingSociety/netsocadmin2/assignees{/user}","branches_url":"https://api.github.com/repos/UCCNetworkingSociety/netsocadmin2/branches{/branch}","tags_url":"https://api.github.com/repos/UCCNetworkingSociety/netsocadmin2/tags","blobs_url":"https://api.github.com/repos/UCCNetworkingSociety/netsocadmin2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UCCNetworkingSociety/netsocadmin2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UCCNetworkingSociety/netsocadmin2/git/refs{/sha}","trees_url":"https://api.github.com/repos/UCCNetworkingSociety/netsocadmin2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UCCNetworkingSociety/netsocadmin2/statuses/{sha}","languages_url":"https://api.github.com/repos/UCCNetworkingSociety/netsocadmin2/languages","stargazers_url":"https://api.github.com/repos/UCCNetworkingSociety/netsocadmin2/stargazers","contributors_url":"https://api.github.com/repos/UCCNetworkingSociety/netsocadmin2/contributors","subscribers_url":"https://api.github.com/repos/UCCNetworkingSociety/netsocadmin2/subscribers","subscription_url":"https://api.github.com/repos/UCCNetworkingSociety/netsocadmin2/subscription","commits_url":"https://api.github.com/repos/UCCNetworkingSociety/netsocadmin2/commits{/sha}","git_commits_url":"https://api.github.com/repos/UCCNetworkingSociety/netsocadmin2/git/commits{/sha}","comments_url":"https://api.github.com/repos/UCCNetworkingSociety/netsocadmin2/comments{/number}","issue_comment_url":"https://api.github.com/repos/UCCNetworkingSociety/netsocadmin2/issues/comments{/number}","contents_url":"https://api.github.com/repos/UCCNetworkingSociety/netsocadmin2/contents/{+path}","compare_url":"https://api.github.com/repos/UCCNetworkingSociety/netsocadmin2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UCCNetworkingSociety/netsocadmin2/merges","archive_url":"https://api.github.com/repos/UCCNetworkingSociety/netsocadmin2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UCCNetworkingSociety/netsocadmin2/downloads","issues_url":"https://api.github.com/repos/UCCNetworkingSociety/netsocadmin2/issues{/number}","pulls_url":"https://api.github.com/repos/UCCNetworkingSociety/netsocadmin2/pulls{/number}","milestones_url":"https://api.github.com/repos/UCCNetworkingSociety/netsocadmin2/milestones{/number}","notifications_url":"https://api.github.com/repos/UCCNetworkingSociety/netsocadmin2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UCCNetworkingSociety/netsocadmin2/labels{/name}","releases_url":"https://api.github.com/repos/UCCNetworkingSociety/netsocadmin2/releases{/id}","deployments_url":"https://api.github.com/repos/UCCNetworkingSociety/netsocadmin2/deployments","created_at":"2017-06-10T10:52:24Z","updated_at":"2018-10-18T15:38:57Z","pushed_at":"2018-11-04T00:26:46Z","git_url":"git://github.com/UCCNetworkingSociety/netsocadmin2.git","ssh_url":"git@github.com:UCCNetworkingSociety/netsocadmin2.git","clone_url":"https://github.com/UCCNetworkingSociety/netsocadmin2.git","svn_url":"https://github.com/UCCNetworkingSociety/netsocadmin2","homepage":"https://admin.netsoc.co","size":15565,"stargazers_count":6,"watchers_count":6,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":8,"license":null,"forks":3,"open_issues":8,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/UCCNetworkingSociety/netsocadmin2/pulls/37"},"html":{"href":"https://github.com/UCCNetworkingSociety/netsocadmin2/pull/37"},"issue":{"href":"https://api.github.com/repos/UCCNetworkingSociety/netsocadmin2/issues/37"},"comments":{"href":"https://api.github.com/repos/UCCNetworkingSociety/netsocadmin2/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/UCCNetworkingSociety/netsocadmin2/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/UCCNetworkingSociety/netsocadmin2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/UCCNetworkingSociety/netsocadmin2/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/UCCNetworkingSociety/netsocadmin2/statuses/8f0f5933fb2859fd9343cd89109f554632d58917"}},"author_association":"NONE"}}
{"actor":{"display_login":"Strum355"}}