{"action":"closed","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-intellij/issues/605","repository_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-intellij","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-intellij/issues/605/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-intellij/issues/605/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-intellij/issues/605/events","html_url":"https://github.com/GoogleCloudPlatform/gcloud-intellij/issues/605","id":146397367,"number":605,"title":"Logger.error() for failures that are not bugs","user":{"login":"chanseokoh","id":10523105,"avatar_url":"https://avatars.githubusercontent.com/u/10523105?v=3","gravatar_id":"","url":"https://api.github.com/users/chanseokoh","html_url":"https://github.com/chanseokoh","followers_url":"https://api.github.com/users/chanseokoh/followers","following_url":"https://api.github.com/users/chanseokoh/following{/other_user}","gists_url":"https://api.github.com/users/chanseokoh/gists{/gist_id}","starred_url":"https://api.github.com/users/chanseokoh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chanseokoh/subscriptions","organizations_url":"https://api.github.com/users/chanseokoh/orgs","repos_url":"https://api.github.com/users/chanseokoh/repos","events_url":"https://api.github.com/users/chanseokoh/events{/privacy}","received_events_url":"https://api.github.com/users/chanseokoh/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-intellij/labels/App%20Engine","name":"App Engine","color":"fef2c0"},{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-intellij/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-intellij/labels/google-cloud-tools-plugin","name":"google-cloud-tools-plugin","color":"bfd4f2"}],"state":"closed","locked":false,"assignee":{"login":"patflynn","id":7862557,"avatar_url":"https://avatars.githubusercontent.com/u/7862557?v=3","gravatar_id":"","url":"https://api.github.com/users/patflynn","html_url":"https://github.com/patflynn","followers_url":"https://api.github.com/users/patflynn/followers","following_url":"https://api.github.com/users/patflynn/following{/other_user}","gists_url":"https://api.github.com/users/patflynn/gists{/gist_id}","starred_url":"https://api.github.com/users/patflynn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patflynn/subscriptions","organizations_url":"https://api.github.com/users/patflynn/orgs","repos_url":"https://api.github.com/users/patflynn/repos","events_url":"https://api.github.com/users/patflynn/events{/privacy}","received_events_url":"https://api.github.com/users/patflynn/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-intellij/milestones/10","html_url":"https://github.com/GoogleCloudPlatform/gcloud-intellij/milestones/0.9.4-beta","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-intellij/milestones/10/labels","id":1661953,"number":10,"title":"0.9.4-beta","description":"First post MVM release milestone.","creator":{"login":"patflynn","id":7862557,"avatar_url":"https://avatars.githubusercontent.com/u/7862557?v=3","gravatar_id":"","url":"https://api.github.com/users/patflynn","html_url":"https://github.com/patflynn","followers_url":"https://api.github.com/users/patflynn/followers","following_url":"https://api.github.com/users/patflynn/following{/other_user}","gists_url":"https://api.github.com/users/patflynn/gists{/gist_id}","starred_url":"https://api.github.com/users/patflynn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patflynn/subscriptions","organizations_url":"https://api.github.com/users/patflynn/orgs","repos_url":"https://api.github.com/users/patflynn/repos","events_url":"https://api.github.com/users/patflynn/events{/privacy}","received_events_url":"https://api.github.com/users/patflynn/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":12,"state":"open","created_at":"2016-03-23T13:57:06Z","updated_at":"2016-04-14T20:13:43Z","due_on":"2016-04-20T04:00:00Z","closed_at":null},"comments":11,"created_at":"2016-04-06T18:30:50Z","updated_at":"2016-04-14T20:13:43Z","closed_at":"2016-04-14T20:13:43Z","body":"Our plugin often uses Logger.error() when there are failures but not bugs. For example, if 'gcloud deploy' fails with an exit code other than 0, Logger.error() will cause a small red popup saying something like 'IDE internal error occurred. Please file a bug.' The logged error can also be accessible in the event log pane. If we click the logged event, a dialog below appears where there is a button saying 'Report to Google Cloud Platform':\r\n\r\n![report_bug](https://cloud.githubusercontent.com/assets/10523105/14328202/ac2ad65c-fc03-11e5-8203-3d172585c8ee.png)\r\n\r\nWe need to check for all the usage of Logger.error() and use it only when it is truly a bug of our plugin.\r\n"}}