{"action":"created","issue":{"url":"https://api.github.com/repos/marko-js/marko/issues/437","repository_url":"https://api.github.com/repos/marko-js/marko","labels_url":"https://api.github.com/repos/marko-js/marko/issues/437/labels{/name}","comments_url":"https://api.github.com/repos/marko-js/marko/issues/437/comments","events_url":"https://api.github.com/repos/marko-js/marko/issues/437/events","html_url":"https://github.com/marko-js/marko/issues/437","id":189894096,"number":437,"title":"Visible Error in Browser (dev mode only)","user":{"login":"mlrawlings","id":1958812,"avatar_url":"https://avatars.githubusercontent.com/u/1958812?v=3","gravatar_id":"","url":"https://api.github.com/users/mlrawlings","html_url":"https://github.com/mlrawlings","followers_url":"https://api.github.com/users/mlrawlings/followers","following_url":"https://api.github.com/users/mlrawlings/following{/other_user}","gists_url":"https://api.github.com/users/mlrawlings/gists{/gist_id}","starred_url":"https://api.github.com/users/mlrawlings/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlrawlings/subscriptions","organizations_url":"https://api.github.com/users/mlrawlings/orgs","repos_url":"https://api.github.com/users/mlrawlings/repos","events_url":"https://api.github.com/users/mlrawlings/events{/privacy}","received_events_url":"https://api.github.com/users/mlrawlings/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-17T00:20:48Z","updated_at":"2016-11-17T20:58:02Z","closed_at":null,"body":"When an error occurs within an `<await>` tag, the rest of the page continues rendering and we log a n error message to the console, but there is no indication in the browser that an error occurred.  When using something like `browser-refresh`, developers aren't constantly having to look at the console, so it might be nice to give a big red error indication in `NODE_ENV=development` mode."},"comment":{"url":"https://api.github.com/repos/marko-js/marko/issues/comments/261367358","html_url":"https://github.com/marko-js/marko/issues/437#issuecomment-261367358","issue_url":"https://api.github.com/repos/marko-js/marko/issues/437","id":261367358,"user":{"login":"Hesulan","id":22082115,"avatar_url":"https://avatars.githubusercontent.com/u/22082115?v=3","gravatar_id":"","url":"https://api.github.com/users/Hesulan","html_url":"https://github.com/Hesulan","followers_url":"https://api.github.com/users/Hesulan/followers","following_url":"https://api.github.com/users/Hesulan/following{/other_user}","gists_url":"https://api.github.com/users/Hesulan/gists{/gist_id}","starred_url":"https://api.github.com/users/Hesulan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hesulan/subscriptions","organizations_url":"https://api.github.com/users/Hesulan/orgs","repos_url":"https://api.github.com/users/Hesulan/repos","events_url":"https://api.github.com/users/Hesulan/events{/privacy}","received_events_url":"https://api.github.com/users/Hesulan/received_events","type":"User","site_admin":false},"created_at":"2016-11-17T20:58:02Z","updated_at":"2016-11-17T20:58:02Z","body":"I like this idea, and I believe I've found a simple way to implement it:\r\n```\r\n<await(result from promise)>\r\n    <await-error if(process.env.NODE_ENV === 'development')>\r\n        <script type=\"text/javascript\">console.log(\"async tag failed!\")</script>\r\n    </await-error>\r\n</await>\r\n```\r\nThat works correctly with or without `client-reorder`. This is just a proof of concept, we would want to implement something like it directly in the renderer code and pass the actual error message through."}}
{"actor":{"display_login":"Hesulan"}}