{"action":"created","issue":{"url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/issues/1241","repository_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks","labels_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/issues/1241/labels{/name}","comments_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/issues/1241/comments","events_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/issues/1241/events","html_url":"https://github.com/jmoenig/Snap--Build-Your-Own-Blocks/issues/1241","id":158064059,"number":1241,"title":"confusing error message pop up in script area","user":{"login":"gengshenghong","id":1018468,"avatar_url":"https://avatars.githubusercontent.com/u/1018468?v=3","gravatar_id":"","url":"https://api.github.com/users/gengshenghong","html_url":"https://github.com/gengshenghong","followers_url":"https://api.github.com/users/gengshenghong/followers","following_url":"https://api.github.com/users/gengshenghong/following{/other_user}","gists_url":"https://api.github.com/users/gengshenghong/gists{/gist_id}","starred_url":"https://api.github.com/users/gengshenghong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gengshenghong/subscriptions","organizations_url":"https://api.github.com/users/gengshenghong/orgs","repos_url":"https://api.github.com/users/gengshenghong/repos","events_url":"https://api.github.com/users/gengshenghong/events{/privacy}","received_events_url":"https://api.github.com/users/gengshenghong/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/labels/error%20handling","name":"error handling","color":"f7c6c7"},{"url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/labels/hard%20%E2%80%93%20maybe%20later","name":"hard – maybe later","color":"eb6420"},{"url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/labels/IDE","name":"IDE","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-02T05:46:19Z","updated_at":"2016-06-04T21:38:59Z","closed_at":null,"body":"The error message is confusing sometimes in Snap, below is an example:\r\n1. create 2 sprites\r\n2. in first sprite, write some script for it (which will report some errors)\r\n![image](https://cloud.githubusercontent.com/assets/1018468/15735041/e9091bc4-28c7-11e6-811e-12f1685decad.png)\r\n\r\n3. set second sprite as current sprite\r\n4. run it again (click \"green flag\"), you'll see the error but the script area is empty and very confusing for children.\r\n![image](https://cloud.githubusercontent.com/assets/1018468/15735069/274bd87c-28c8-11e6-811d-636cfa4fccff.png)\r\n\r\nis there a better way to report error message? Maybe switch to the sprite and then show the error?\r\n\r\nThanks,\r\nShenghong"},"comment":{"url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/issues/comments/223779751","html_url":"https://github.com/jmoenig/Snap--Build-Your-Own-Blocks/issues/1241#issuecomment-223779751","issue_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/issues/1241","id":223779751,"user":{"login":"jmoenig","id":2596285,"avatar_url":"https://avatars.githubusercontent.com/u/2596285?v=3","gravatar_id":"","url":"https://api.github.com/users/jmoenig","html_url":"https://github.com/jmoenig","followers_url":"https://api.github.com/users/jmoenig/followers","following_url":"https://api.github.com/users/jmoenig/following{/other_user}","gists_url":"https://api.github.com/users/jmoenig/gists{/gist_id}","starred_url":"https://api.github.com/users/jmoenig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmoenig/subscriptions","organizations_url":"https://api.github.com/users/jmoenig/orgs","repos_url":"https://api.github.com/users/jmoenig/repos","events_url":"https://api.github.com/users/jmoenig/events{/privacy}","received_events_url":"https://api.github.com/users/jmoenig/received_events","type":"User","site_admin":false},"created_at":"2016-06-04T21:38:59Z","updated_at":"2016-06-04T21:38:59Z","body":"Yep, excellent idea!"}}
{"actor":{"display_login":"jmoenig"}}