{"action":"opened","number":565,"pull_request":{"url":"https://api.github.com/repos/loadimpact/k6/pulls/565","id":178537792,"html_url":"https://github.com/loadimpact/k6/pull/565","diff_url":"https://github.com/loadimpact/k6/pull/565.diff","patch_url":"https://github.com/loadimpact/k6/pull/565.patch","issue_url":"https://api.github.com/repos/loadimpact/k6/issues/565","number":565,"state":"open","locked":false,"title":"Better error message when script/module can't be found","user":{"login":"antekresic","id":1985166,"avatar_url":"https://avatars0.githubusercontent.com/u/1985166?v=4","gravatar_id":"","url":"https://api.github.com/users/antekresic","html_url":"https://github.com/antekresic","followers_url":"https://api.github.com/users/antekresic/followers","following_url":"https://api.github.com/users/antekresic/following{/other_user}","gists_url":"https://api.github.com/users/antekresic/gists{/gist_id}","starred_url":"https://api.github.com/users/antekresic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antekresic/subscriptions","organizations_url":"https://api.github.com/users/antekresic/orgs","repos_url":"https://api.github.com/users/antekresic/repos","events_url":"https://api.github.com/users/antekresic/events{/privacy}","received_events_url":"https://api.github.com/users/antekresic/received_events","type":"User","site_admin":false},"body":"Closes #528 \r\n\r\nI added some checks for URL parsing and valid hostnames but I guess this would work without those. Let me know if we want to remove them.","created_at":"2018-03-30T10:42:29Z","updated_at":"2018-03-30T10:42:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/loadimpact/k6/pulls/565/commits","review_comments_url":"https://api.github.com/repos/loadimpact/k6/pulls/565/comments","review_comment_url":"https://api.github.com/repos/loadimpact/k6/pulls/comments{/number}","comments_url":"https://api.github.com/repos/loadimpact/k6/issues/565/comments","statuses_url":"https://api.github.com/repos/loadimpact/k6/statuses/b47efe2a9bbbffa9508d225ebca343066bfd4a43","head":{"label":"antekresic:feature/betterErrorForInvalidScript","ref":"feature/betterErrorForInvalidScript","sha":"b47efe2a9bbbffa9508d225ebca343066bfd4a43","user":{"login":"antekresic","id":1985166,"avatar_url":"https://avatars0.githubusercontent.com/u/1985166?v=4","gravatar_id":"","url":"https://api.github.com/users/antekresic","html_url":"https://github.com/antekresic","followers_url":"https://api.github.com/users/antekresic/followers","following_url":"https://api.github.com/users/antekresic/following{/other_user}","gists_url":"https://api.github.com/users/antekresic/gists{/gist_id}","starred_url":"https://api.github.com/users/antekresic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antekresic/subscriptions","organizations_url":"https://api.github.com/users/antekresic/orgs","repos_url":"https://api.github.com/users/antekresic/repos","events_url":"https://api.github.com/users/antekresic/events{/privacy}","received_events_url":"https://api.github.com/users/antekresic/received_events","type":"User","site_admin":false},"repo":{"id":116804789,"name":"k6","full_name":"antekresic/k6","owner":{"login":"antekresic","id":1985166,"avatar_url":"https://avatars0.githubusercontent.com/u/1985166?v=4","gravatar_id":"","url":"https://api.github.com/users/antekresic","html_url":"https://github.com/antekresic","followers_url":"https://api.github.com/users/antekresic/followers","following_url":"https://api.github.com/users/antekresic/following{/other_user}","gists_url":"https://api.github.com/users/antekresic/gists{/gist_id}","starred_url":"https://api.github.com/users/antekresic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antekresic/subscriptions","organizations_url":"https://api.github.com/users/antekresic/orgs","repos_url":"https://api.github.com/users/antekresic/repos","events_url":"https://api.github.com/users/antekresic/events{/privacy}","received_events_url":"https://api.github.com/users/antekresic/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/antekresic/k6","description":"A modern load testing tool, using Go and JavaScript - https://k6.io","fork":true,"url":"https://api.github.com/repos/antekresic/k6","forks_url":"https://api.github.com/repos/antekresic/k6/forks","keys_url":"https://api.github.com/repos/antekresic/k6/keys{/key_id}","collaborators_url":"https://api.github.com/repos/antekresic/k6/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/antekresic/k6/teams","hooks_url":"https://api.github.com/repos/antekresic/k6/hooks","issue_events_url":"https://api.github.com/repos/antekresic/k6/issues/events{/number}","events_url":"https://api.github.com/repos/antekresic/k6/events","assignees_url":"https://api.github.com/repos/antekresic/k6/assignees{/user}","branches_url":"https://api.github.com/repos/antekresic/k6/branches{/branch}","tags_url":"https://api.github.com/repos/antekresic/k6/tags","blobs_url":"https://api.github.com/repos/antekresic/k6/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/antekresic/k6/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/antekresic/k6/git/refs{/sha}","trees_url":"https://api.github.com/repos/antekresic/k6/git/trees{/sha}","statuses_url":"https://api.github.com/repos/antekresic/k6/statuses/{sha}","languages_url":"https://api.github.com/repos/antekresic/k6/languages","stargazers_url":"https://api.github.com/repos/antekresic/k6/stargazers","contributors_url":"https://api.github.com/repos/antekresic/k6/contributors","subscribers_url":"https://api.github.com/repos/antekresic/k6/subscribers","subscription_url":"https://api.github.com/repos/antekresic/k6/subscription","commits_url":"https://api.github.com/repos/antekresic/k6/commits{/sha}","git_commits_url":"https://api.github.com/repos/antekresic/k6/git/commits{/sha}","comments_url":"https://api.github.com/repos/antekresic/k6/comments{/number}","issue_comment_url":"https://api.github.com/repos/antekresic/k6/issues/comments{/number}","contents_url":"https://api.github.com/repos/antekresic/k6/contents/{+path}","compare_url":"https://api.github.com/repos/antekresic/k6/compare/{base}...{head}","merges_url":"https://api.github.com/repos/antekresic/k6/merges","archive_url":"https://api.github.com/repos/antekresic/k6/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/antekresic/k6/downloads","issues_url":"https://api.github.com/repos/antekresic/k6/issues{/number}","pulls_url":"https://api.github.com/repos/antekresic/k6/pulls{/number}","milestones_url":"https://api.github.com/repos/antekresic/k6/milestones{/number}","notifications_url":"https://api.github.com/repos/antekresic/k6/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/antekresic/k6/labels{/name}","releases_url":"https://api.github.com/repos/antekresic/k6/releases{/id}","deployments_url":"https://api.github.com/repos/antekresic/k6/deployments","created_at":"2018-01-09T11:00:43Z","updated_at":"2018-01-09T11:00:45Z","pushed_at":"2018-03-30T10:41:18Z","git_url":"git://github.com/antekresic/k6.git","ssh_url":"git@github.com:antekresic/k6.git","clone_url":"https://github.com/antekresic/k6.git","svn_url":"https://github.com/antekresic/k6","homepage":"","size":8034,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"loadimpact:master","ref":"master","sha":"83d433da117a50f1d604e20fd66fd4df0a04030a","user":{"login":"loadimpact","id":2271486,"avatar_url":"https://avatars2.githubusercontent.com/u/2271486?v=4","gravatar_id":"","url":"https://api.github.com/users/loadimpact","html_url":"https://github.com/loadimpact","followers_url":"https://api.github.com/users/loadimpact/followers","following_url":"https://api.github.com/users/loadimpact/following{/other_user}","gists_url":"https://api.github.com/users/loadimpact/gists{/gist_id}","starred_url":"https://api.github.com/users/loadimpact/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loadimpact/subscriptions","organizations_url":"https://api.github.com/users/loadimpact/orgs","repos_url":"https://api.github.com/users/loadimpact/repos","events_url":"https://api.github.com/users/loadimpact/events{/privacy}","received_events_url":"https://api.github.com/users/loadimpact/received_events","type":"Organization","site_admin":false},"repo":{"id":54400687,"name":"k6","full_name":"loadimpact/k6","owner":{"login":"loadimpact","id":2271486,"avatar_url":"https://avatars2.githubusercontent.com/u/2271486?v=4","gravatar_id":"","url":"https://api.github.com/users/loadimpact","html_url":"https://github.com/loadimpact","followers_url":"https://api.github.com/users/loadimpact/followers","following_url":"https://api.github.com/users/loadimpact/following{/other_user}","gists_url":"https://api.github.com/users/loadimpact/gists{/gist_id}","starred_url":"https://api.github.com/users/loadimpact/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loadimpact/subscriptions","organizations_url":"https://api.github.com/users/loadimpact/orgs","repos_url":"https://api.github.com/users/loadimpact/repos","events_url":"https://api.github.com/users/loadimpact/events{/privacy}","received_events_url":"https://api.github.com/users/loadimpact/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/loadimpact/k6","description":"A modern load testing tool, using Go and JavaScript - https://k6.io","fork":false,"url":"https://api.github.com/repos/loadimpact/k6","forks_url":"https://api.github.com/repos/loadimpact/k6/forks","keys_url":"https://api.github.com/repos/loadimpact/k6/keys{/key_id}","collaborators_url":"https://api.github.com/repos/loadimpact/k6/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/loadimpact/k6/teams","hooks_url":"https://api.github.com/repos/loadimpact/k6/hooks","issue_events_url":"https://api.github.com/repos/loadimpact/k6/issues/events{/number}","events_url":"https://api.github.com/repos/loadimpact/k6/events","assignees_url":"https://api.github.com/repos/loadimpact/k6/assignees{/user}","branches_url":"https://api.github.com/repos/loadimpact/k6/branches{/branch}","tags_url":"https://api.github.com/repos/loadimpact/k6/tags","blobs_url":"https://api.github.com/repos/loadimpact/k6/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/loadimpact/k6/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/loadimpact/k6/git/refs{/sha}","trees_url":"https://api.github.com/repos/loadimpact/k6/git/trees{/sha}","statuses_url":"https://api.github.com/repos/loadimpact/k6/statuses/{sha}","languages_url":"https://api.github.com/repos/loadimpact/k6/languages","stargazers_url":"https://api.github.com/repos/loadimpact/k6/stargazers","contributors_url":"https://api.github.com/repos/loadimpact/k6/contributors","subscribers_url":"https://api.github.com/repos/loadimpact/k6/subscribers","subscription_url":"https://api.github.com/repos/loadimpact/k6/subscription","commits_url":"https://api.github.com/repos/loadimpact/k6/commits{/sha}","git_commits_url":"https://api.github.com/repos/loadimpact/k6/git/commits{/sha}","comments_url":"https://api.github.com/repos/loadimpact/k6/comments{/number}","issue_comment_url":"https://api.github.com/repos/loadimpact/k6/issues/comments{/number}","contents_url":"https://api.github.com/repos/loadimpact/k6/contents/{+path}","compare_url":"https://api.github.com/repos/loadimpact/k6/compare/{base}...{head}","merges_url":"https://api.github.com/repos/loadimpact/k6/merges","archive_url":"https://api.github.com/repos/loadimpact/k6/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/loadimpact/k6/downloads","issues_url":"https://api.github.com/repos/loadimpact/k6/issues{/number}","pulls_url":"https://api.github.com/repos/loadimpact/k6/pulls{/number}","milestones_url":"https://api.github.com/repos/loadimpact/k6/milestones{/number}","notifications_url":"https://api.github.com/repos/loadimpact/k6/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/loadimpact/k6/labels{/name}","releases_url":"https://api.github.com/repos/loadimpact/k6/releases{/id}","deployments_url":"https://api.github.com/repos/loadimpact/k6/deployments","created_at":"2016-03-21T15:30:24Z","updated_at":"2018-03-29T23:06:50Z","pushed_at":"2018-03-29T16:39:23Z","git_url":"git://github.com/loadimpact/k6.git","ssh_url":"git@github.com:loadimpact/k6.git","clone_url":"https://github.com/loadimpact/k6.git","svn_url":"https://github.com/loadimpact/k6","homepage":"","size":8171,"stargazers_count":3577,"watchers_count":3577,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":143,"mirror_url":null,"archived":false,"open_issues_count":94,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0"},"forks":143,"open_issues":94,"watchers":3577,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/loadimpact/k6/pulls/565"},"html":{"href":"https://github.com/loadimpact/k6/pull/565"},"issue":{"href":"https://api.github.com/repos/loadimpact/k6/issues/565"},"comments":{"href":"https://api.github.com/repos/loadimpact/k6/issues/565/comments"},"review_comments":{"href":"https://api.github.com/repos/loadimpact/k6/pulls/565/comments"},"review_comment":{"href":"https://api.github.com/repos/loadimpact/k6/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/loadimpact/k6/pulls/565/commits"},"statuses":{"href":"https://api.github.com/repos/loadimpact/k6/statuses/b47efe2a9bbbffa9508d225ebca343066bfd4a43"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":2,"additions":46,"deletions":10,"changed_files":2}}
{"actor":{"display_login":"antekresic"}}