{"action":"opened","issue":{"url":"https://api.github.com/repos/voidlabs/mosaico/issues/45","labels_url":"https://api.github.com/repos/voidlabs/mosaico/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/voidlabs/mosaico/issues/45/comments","events_url":"https://api.github.com/repos/voidlabs/mosaico/issues/45/events","html_url":"https://github.com/voidlabs/mosaico/issues/45","id":118342337,"number":45,"title":"mosaico should be more robust upon server errors","user":{"login":"bwl21","id":2022976,"avatar_url":"https://avatars.githubusercontent.com/u/2022976?v=3","gravatar_id":"","url":"https://api.github.com/users/bwl21","html_url":"https://github.com/bwl21","followers_url":"https://api.github.com/users/bwl21/followers","following_url":"https://api.github.com/users/bwl21/following{/other_user}","gists_url":"https://api.github.com/users/bwl21/gists{/gist_id}","starred_url":"https://api.github.com/users/bwl21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bwl21/subscriptions","organizations_url":"https://api.github.com/users/bwl21/orgs","repos_url":"https://api.github.com/users/bwl21/repos","events_url":"https://api.github.com/users/bwl21/events{/privacy}","received_events_url":"https://api.github.com/users/bwl21/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-23T09:12:54Z","updated_at":"2015-11-23T09:12:54Z","closed_at":null,"body":"If anything goes wrong at the server side, there is no feedback to the user. mosaico silently does not work.\r\n\r\nFor example, if upload of an image fails, and the server does not respond with a valid JSON, one needs to open the console  ...\r\n\r\nI don't know if we have a specified error response from the server such that mosaico can detect error conditions. But if the reponse is not a valid JSON, mosaico could report the response in an alert.\r\n\r\n"}}