{"action":"opened","issue":{"url":"https://api.github.com/repos/teamon/tesla/issues/227","repository_url":"https://api.github.com/repos/teamon/tesla","labels_url":"https://api.github.com/repos/teamon/tesla/issues/227/labels{/name}","comments_url":"https://api.github.com/repos/teamon/tesla/issues/227/comments","events_url":"https://api.github.com/repos/teamon/tesla/issues/227/events","html_url":"https://github.com/teamon/tesla/issues/227","id":340609611,"node_id":"MDU6SXNzdWUzNDA2MDk2MTE=","number":227,"title":"FunctionClauseError in Logger.debug_body/1","user":{"login":"teamon","id":8083,"node_id":"MDQ6VXNlcjgwODM=","avatar_url":"https://avatars1.githubusercontent.com/u/8083?v=4","gravatar_id":"","url":"https://api.github.com/users/teamon","html_url":"https://github.com/teamon","followers_url":"https://api.github.com/users/teamon/followers","following_url":"https://api.github.com/users/teamon/following{/other_user}","gists_url":"https://api.github.com/users/teamon/gists{/gist_id}","starred_url":"https://api.github.com/users/teamon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teamon/subscriptions","organizations_url":"https://api.github.com/users/teamon/orgs","repos_url":"https://api.github.com/users/teamon/repos","events_url":"https://api.github.com/users/teamon/events{/privacy}","received_events_url":"https://api.github.com/users/teamon/received_events","type":"User","site_admin":false},"labels":[{"id":188205201,"node_id":"MDU6TGFiZWwxODgyMDUyMDE=","url":"https://api.github.com/repos/teamon/tesla/labels/bug","name":"bug","color":"d93f0b","default":true},{"id":759342061,"node_id":"MDU6TGFiZWw3NTkzNDIwNjE=","url":"https://api.github.com/repos/teamon/tesla/labels/good%20first%20issue","name":"good first issue","color":"753de5","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-12T12:06:44Z","updated_at":"2018-07-12T12:06:44Z","closed_at":null,"author_association":"OWNER","body":"```\r\n    ** (FunctionClauseError) no function clause matching in Tesla.Middleware.Logger.debug_body/1\r\n        (tesla) lib/tesla/middleware/logger.ex:207: Tesla.Middleware.Logger.debug_body(%GoogleApi.PubSub.V1.Model.PublishRequest\r\n```\r\n\r\nSome libraries (like google-elixirs-apis) expect request to be a specific struct. \r\nThe solution would be to add a catch-all clause to `debug_body/1` that would `inspect/1` the given argument."}}
{"actor":{"display_login":"teamon"}}