{"action":"opened","issue":{"url":"https://api.github.com/repos/GaloisInc/cereal/issues/34","labels_url":"https://api.github.com/repos/GaloisInc/cereal/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/GaloisInc/cereal/issues/34/comments","events_url":"https://api.github.com/repos/GaloisInc/cereal/issues/34/events","html_url":"https://github.com/GaloisInc/cereal/issues/34","id":66970883,"number":34,"title":"Left \"…Empty call stack\\n\" on fail","user":{"login":"Profpatsch","id":3153638,"avatar_url":"https://avatars.githubusercontent.com/u/3153638?v=3","gravatar_id":"","url":"https://api.github.com/users/Profpatsch","html_url":"https://github.com/Profpatsch","followers_url":"https://api.github.com/users/Profpatsch/followers","following_url":"https://api.github.com/users/Profpatsch/following{/other_user}","gists_url":"https://api.github.com/users/Profpatsch/gists{/gist_id}","starred_url":"https://api.github.com/users/Profpatsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Profpatsch/subscriptions","organizations_url":"https://api.github.com/users/Profpatsch/orgs","repos_url":"https://api.github.com/users/Profpatsch/repos","events_url":"https://api.github.com/users/Profpatsch/events{/privacy}","received_events_url":"https://api.github.com/users/Profpatsch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-07T19:16:15Z","updated_at":"2015-04-07T19:16:15Z","closed_at":null,"body":"I get a strange error on fail, even in the most trivial cases:\r\n\r\n```\r\ndata Test = Test { someVal :: ByteString } deriving (Show, Generic)\r\ninstance Serialize Test where\r\n  get = fail \"test\"\r\n\r\ntesttest :: Either String Test\r\ntesttest = decode \"B6034fooobaarbazbla\"\r\n```\r\n\r\nOutput: `Left \"Failed reading: test\\nEmpty call stack\\n\"`"}}