{"action":"created","comment":{"url":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/pulls/comments/32327949","id":32327949,"diff_hunk":"@@ -312,7 +312,13 @@ define([\n             WsWorkunits.WUUpdate({\n                 request: request,\n                 load: function (response) {\n-                    context.updateData(response.WUUpdateResponse.Workunit);\n+                    if (response.Exceptions) {\n+                        arrayUtil.forEach(response.Exceptions.Exception, function (item, idx) {\n+                            context.updateData(response.Exceptions.Exception[idx].Message);","path":"esp/src/eclwatch/ESPWorkunit.js","position":7,"original_position":7,"commit_id":"500a04731b2bd3d20bc5e3257ef8899e832467f4","original_commit_id":"500a04731b2bd3d20bc5e3257ef8899e832467f4","user":{"login":"miguelvazq","id":2362956,"avatar_url":"https://avatars.githubusercontent.com/u/2362956?v=3","gravatar_id":"","url":"https://api.github.com/users/miguelvazq","html_url":"https://github.com/miguelvazq","followers_url":"https://api.github.com/users/miguelvazq/followers","following_url":"https://api.github.com/users/miguelvazq/following{/other_user}","gists_url":"https://api.github.com/users/miguelvazq/gists{/gist_id}","starred_url":"https://api.github.com/users/miguelvazq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miguelvazq/subscriptions","organizations_url":"https://api.github.com/users/miguelvazq/orgs","repos_url":"https://api.github.com/users/miguelvazq/repos","events_url":"https://api.github.com/users/miguelvazq/events{/privacy}","received_events_url":"https://api.github.com/users/miguelvazq/received_events","type":"User","site_admin":false},"body":"No, I am passing in the response from WUUpdate which happens to be located at: response.Exceptions.Exception[idx].Message which states \"\"GMT: Invalid cluster name: ClusterName\"","created_at":"2015-06-12T15:50:35Z","updated_at":"2015-06-12T15:50:35Z","html_url":"https://github.com/hpcc-systems/HPCC-Platform/pull/7440#discussion_r32327949","pull_request_url":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/pulls/7440","_links":{"self":{"href":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/pulls/comments/32327949"},"html":{"href":"https://github.com/hpcc-systems/HPCC-Platform/pull/7440#discussion_r32327949"},"pull_request":{"href":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/pulls/7440"}}},"pull_request":{"url":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/pulls/7440","id":37498796,"html_url":"https://github.com/hpcc-systems/HPCC-Platform/pull/7440","diff_url":"https://github.com/hpcc-systems/HPCC-Platform/pull/7440.diff","patch_url":"https://github.com/hpcc-systems/HPCC-Platform/pull/7440.patch","issue_url":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/issues/7440","number":7440,"state":"open","locked":false,"title":"HPCC-13618 Add a useful exception toaster message","user":{"login":"miguelvazq","id":2362956,"avatar_url":"https://avatars.githubusercontent.com/u/2362956?v=3","gravatar_id":"","url":"https://api.github.com/users/miguelvazq","html_url":"https://github.com/miguelvazq","followers_url":"https://api.github.com/users/miguelvazq/followers","following_url":"https://api.github.com/users/miguelvazq/following{/other_user}","gists_url":"https://api.github.com/users/miguelvazq/gists{/gist_id}","starred_url":"https://api.github.com/users/miguelvazq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miguelvazq/subscriptions","organizations_url":"https://api.github.com/users/miguelvazq/orgs","repos_url":"https://api.github.com/users/miguelvazq/repos","events_url":"https://api.github.com/users/miguelvazq/events{/privacy}","received_events_url":"https://api.github.com/users/miguelvazq/received_events","type":"User","site_admin":false},"body":"If a cluster does not exist when choosing an alternative 'allowed cluster' within workunit details the toaster message that appears does not provide clear information as to what the exception is. In this case, it returns \"GMT: Invalid cluster name: ClusterName\" which is helpful. Improving of exception handling may need to be done in other cases throughout the application.\r\n\r\nSigned-off-by: Miguel Vazquez <miguel.vazquez@lexisnexis.com>","created_at":"2015-06-11T19:19:11Z","updated_at":"2015-06-12T15:50:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1c012a03177e96719c4a116ad50b5013e7926428","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/pulls/7440/commits","review_comments_url":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/pulls/7440/comments","review_comment_url":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/issues/7440/comments","statuses_url":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/statuses/500a04731b2bd3d20bc5e3257ef8899e832467f4","head":{"label":"miguelvazq:HPCC-13618","ref":"HPCC-13618","sha":"500a04731b2bd3d20bc5e3257ef8899e832467f4","user":{"login":"miguelvazq","id":2362956,"avatar_url":"https://avatars.githubusercontent.com/u/2362956?v=3","gravatar_id":"","url":"https://api.github.com/users/miguelvazq","html_url":"https://github.com/miguelvazq","followers_url":"https://api.github.com/users/miguelvazq/followers","following_url":"https://api.github.com/users/miguelvazq/following{/other_user}","gists_url":"https://api.github.com/users/miguelvazq/gists{/gist_id}","starred_url":"https://api.github.com/users/miguelvazq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miguelvazq/subscriptions","organizations_url":"https://api.github.com/users/miguelvazq/orgs","repos_url":"https://api.github.com/users/miguelvazq/repos","events_url":"https://api.github.com/users/miguelvazq/events{/privacy}","received_events_url":"https://api.github.com/users/miguelvazq/received_events","type":"User","site_admin":false},"repo":{"id":5951538,"name":"HPCC-Platform","full_name":"miguelvazq/HPCC-Platform","owner":{"login":"miguelvazq","id":2362956,"avatar_url":"https://avatars.githubusercontent.com/u/2362956?v=3","gravatar_id":"","url":"https://api.github.com/users/miguelvazq","html_url":"https://github.com/miguelvazq","followers_url":"https://api.github.com/users/miguelvazq/followers","following_url":"https://api.github.com/users/miguelvazq/following{/other_user}","gists_url":"https://api.github.com/users/miguelvazq/gists{/gist_id}","starred_url":"https://api.github.com/users/miguelvazq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miguelvazq/subscriptions","organizations_url":"https://api.github.com/users/miguelvazq/orgs","repos_url":"https://api.github.com/users/miguelvazq/repos","events_url":"https://api.github.com/users/miguelvazq/events{/privacy}","received_events_url":"https://api.github.com/users/miguelvazq/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/miguelvazq/HPCC-Platform","description":"IMPORTANT - Issue tracking has been migrated to JIRA - use your github ID and password reset mechanism to log in","fork":true,"url":"https://api.github.com/repos/miguelvazq/HPCC-Platform","forks_url":"https://api.github.com/repos/miguelvazq/HPCC-Platform/forks","keys_url":"https://api.github.com/repos/miguelvazq/HPCC-Platform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/miguelvazq/HPCC-Platform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/miguelvazq/HPCC-Platform/teams","hooks_url":"https://api.github.com/repos/miguelvazq/HPCC-Platform/hooks","issue_events_url":"https://api.github.com/repos/miguelvazq/HPCC-Platform/issues/events{/number}","events_url":"https://api.github.com/repos/miguelvazq/HPCC-Platform/events","assignees_url":"https://api.github.com/repos/miguelvazq/HPCC-Platform/assignees{/user}","branches_url":"https://api.github.com/repos/miguelvazq/HPCC-Platform/branches{/branch}","tags_url":"https://api.github.com/repos/miguelvazq/HPCC-Platform/tags","blobs_url":"https://api.github.com/repos/miguelvazq/HPCC-Platform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/miguelvazq/HPCC-Platform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/miguelvazq/HPCC-Platform/git/refs{/sha}","trees_url":"https://api.github.com/repos/miguelvazq/HPCC-Platform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/miguelvazq/HPCC-Platform/statuses/{sha}","languages_url":"https://api.github.com/repos/miguelvazq/HPCC-Platform/languages","stargazers_url":"https://api.github.com/repos/miguelvazq/HPCC-Platform/stargazers","contributors_url":"https://api.github.com/repos/miguelvazq/HPCC-Platform/contributors","subscribers_url":"https://api.github.com/repos/miguelvazq/HPCC-Platform/subscribers","subscription_url":"https://api.github.com/repos/miguelvazq/HPCC-Platform/subscription","commits_url":"https://api.github.com/repos/miguelvazq/HPCC-Platform/commits{/sha}","git_commits_url":"https://api.github.com/repos/miguelvazq/HPCC-Platform/git/commits{/sha}","comments_url":"https://api.github.com/repos/miguelvazq/HPCC-Platform/comments{/number}","issue_comment_url":"https://api.github.com/repos/miguelvazq/HPCC-Platform/issues/comments{/number}","contents_url":"https://api.github.com/repos/miguelvazq/HPCC-Platform/contents/{+path}","compare_url":"https://api.github.com/repos/miguelvazq/HPCC-Platform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/miguelvazq/HPCC-Platform/merges","archive_url":"https://api.github.com/repos/miguelvazq/HPCC-Platform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/miguelvazq/HPCC-Platform/downloads","issues_url":"https://api.github.com/repos/miguelvazq/HPCC-Platform/issues{/number}","pulls_url":"https://api.github.com/repos/miguelvazq/HPCC-Platform/pulls{/number}","milestones_url":"https://api.github.com/repos/miguelvazq/HPCC-Platform/milestones{/number}","notifications_url":"https://api.github.com/repos/miguelvazq/HPCC-Platform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/miguelvazq/HPCC-Platform/labels{/name}","releases_url":"https://api.github.com/repos/miguelvazq/HPCC-Platform/releases{/id}","created_at":"2012-09-25T14:49:33Z","updated_at":"2014-09-12T17:18:09Z","pushed_at":"2015-06-11T19:18:43Z","git_url":"git://github.com/miguelvazq/HPCC-Platform.git","ssh_url":"git@github.com:miguelvazq/HPCC-Platform.git","clone_url":"https://github.com/miguelvazq/HPCC-Platform.git","svn_url":"https://github.com/miguelvazq/HPCC-Platform","homepage":"track.hpccsystems.com","size":144317,"stargazers_count":1,"watchers_count":1,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"hpcc-systems:candidate-5.4.0","ref":"candidate-5.4.0","sha":"82075237de0e62736584ac98c5053fcefe4ce32f","user":{"login":"hpcc-systems","id":900867,"avatar_url":"https://avatars.githubusercontent.com/u/900867?v=3","gravatar_id":"","url":"https://api.github.com/users/hpcc-systems","html_url":"https://github.com/hpcc-systems","followers_url":"https://api.github.com/users/hpcc-systems/followers","following_url":"https://api.github.com/users/hpcc-systems/following{/other_user}","gists_url":"https://api.github.com/users/hpcc-systems/gists{/gist_id}","starred_url":"https://api.github.com/users/hpcc-systems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hpcc-systems/subscriptions","organizations_url":"https://api.github.com/users/hpcc-systems/orgs","repos_url":"https://api.github.com/users/hpcc-systems/repos","events_url":"https://api.github.com/users/hpcc-systems/events{/privacy}","received_events_url":"https://api.github.com/users/hpcc-systems/received_events","type":"Organization","site_admin":false},"repo":{"id":2030681,"name":"HPCC-Platform","full_name":"hpcc-systems/HPCC-Platform","owner":{"login":"hpcc-systems","id":900867,"avatar_url":"https://avatars.githubusercontent.com/u/900867?v=3","gravatar_id":"","url":"https://api.github.com/users/hpcc-systems","html_url":"https://github.com/hpcc-systems","followers_url":"https://api.github.com/users/hpcc-systems/followers","following_url":"https://api.github.com/users/hpcc-systems/following{/other_user}","gists_url":"https://api.github.com/users/hpcc-systems/gists{/gist_id}","starred_url":"https://api.github.com/users/hpcc-systems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hpcc-systems/subscriptions","organizations_url":"https://api.github.com/users/hpcc-systems/orgs","repos_url":"https://api.github.com/users/hpcc-systems/repos","events_url":"https://api.github.com/users/hpcc-systems/events{/privacy}","received_events_url":"https://api.github.com/users/hpcc-systems/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hpcc-systems/HPCC-Platform","description":"IMPORTANT - Issue tracking has been migrated to JIRA - use your github ID and password reset mechanism to log in","fork":false,"url":"https://api.github.com/repos/hpcc-systems/HPCC-Platform","forks_url":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/forks","keys_url":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/teams","hooks_url":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/hooks","issue_events_url":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/issues/events{/number}","events_url":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/events","assignees_url":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/assignees{/user}","branches_url":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/branches{/branch}","tags_url":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/tags","blobs_url":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/git/refs{/sha}","trees_url":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/statuses/{sha}","languages_url":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/languages","stargazers_url":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/stargazers","contributors_url":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/contributors","subscribers_url":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/subscribers","subscription_url":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/subscription","commits_url":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/commits{/sha}","git_commits_url":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/git/commits{/sha}","comments_url":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/comments{/number}","issue_comment_url":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/issues/comments{/number}","contents_url":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/contents/{+path}","compare_url":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/merges","archive_url":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/downloads","issues_url":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/issues{/number}","pulls_url":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/pulls{/number}","milestones_url":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/milestones{/number}","notifications_url":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/labels{/name}","releases_url":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/releases{/id}","created_at":"2011-07-11T14:29:51Z","updated_at":"2015-05-23T08:18:36Z","pushed_at":"2015-06-12T15:33:10Z","git_url":"git://github.com/hpcc-systems/HPCC-Platform.git","ssh_url":"git@github.com:hpcc-systems/HPCC-Platform.git","clone_url":"https://github.com/hpcc-systems/HPCC-Platform.git","svn_url":"https://github.com/hpcc-systems/HPCC-Platform","homepage":"track.hpccsystems.com","size":335616,"stargazers_count":252,"watchers_count":252,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":113,"mirror_url":null,"open_issues_count":433,"forks":113,"open_issues":433,"watchers":252,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/pulls/7440"},"html":{"href":"https://github.com/hpcc-systems/HPCC-Platform/pull/7440"},"issue":{"href":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/issues/7440"},"comments":{"href":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/issues/7440/comments"},"review_comments":{"href":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/pulls/7440/comments"},"review_comment":{"href":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/pulls/7440/commits"},"statuses":{"href":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/statuses/500a04731b2bd3d20bc5e3257ef8899e832467f4"}}}}