{"action":"opened","issue":{"url":"https://api.github.com/repos/mozilla/fxa-content-server/issues/2636","labels_url":"https://api.github.com/repos/mozilla/fxa-content-server/issues/2636/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/fxa-content-server/issues/2636/comments","events_url":"https://api.github.com/repos/mozilla/fxa-content-server/issues/2636/events","html_url":"https://github.com/mozilla/fxa-content-server/issues/2636","id":91152516,"number":2636,"title":"logError method breaks if error object doesn't have message property","user":{"login":"renoirb","id":296940,"avatar_url":"https://avatars.githubusercontent.com/u/296940?v=3","gravatar_id":"","url":"https://api.github.com/users/renoirb","html_url":"https://github.com/renoirb","followers_url":"https://api.github.com/users/renoirb/followers","following_url":"https://api.github.com/users/renoirb/following{/other_user}","gists_url":"https://api.github.com/users/renoirb/gists{/gist_id}","starred_url":"https://api.github.com/users/renoirb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/renoirb/subscriptions","organizations_url":"https://api.github.com/users/renoirb/orgs","repos_url":"https://api.github.com/users/renoirb/repos","events_url":"https://api.github.com/users/renoirb/events{/privacy}","received_events_url":"https://api.github.com/users/renoirb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-26T04:49:54Z","updated_at":"2015-06-26T04:49:54Z","closed_at":null,"body":"\r\n```diff\r\ndiff --git i/app/scripts/views/base.js w/app/scripts/views/base.js\r\nindex ad93dff..d0a50d8 100644\r\n--- i/app/scripts/views/base.js\r\n+++ w/app/scripts/views/base.js\r\n@@ -489,7 +489,7 @@ function (Cocktail, _, Backbone, $, p, AuthErrors,\r\n       err.logged = true;\r\n\r\n       if (typeof console !== 'undefined' && console) {\r\n-        console.error(err.message);\r\n+        console.error(err.message||err); // Dont break if no message property\r\n       }\r\n\r\n       this.metrics.logError(err);\r\n```"}}