{"action":"created","issue":{"url":"https://api.github.com/repos/ninenines/cowboy/issues/1298","repository_url":"https://api.github.com/repos/ninenines/cowboy","labels_url":"https://api.github.com/repos/ninenines/cowboy/issues/1298/labels{/name}","comments_url":"https://api.github.com/repos/ninenines/cowboy/issues/1298/comments","events_url":"https://api.github.com/repos/ninenines/cowboy/issues/1298/events","html_url":"https://github.com/ninenines/cowboy/issues/1298","id":332278860,"node_id":"MDU6SXNzdWUzMzIyNzg4NjA=","number":1298,"title":"Hard to debug when cowboy_rest replies and cowboy_req:reply crashes","user":{"login":"essen","id":141739,"node_id":"MDQ6VXNlcjE0MTczOQ==","avatar_url":"https://avatars2.githubusercontent.com/u/141739?v=4","gravatar_id":"","url":"https://api.github.com/users/essen","html_url":"https://github.com/essen","followers_url":"https://api.github.com/users/essen/followers","following_url":"https://api.github.com/users/essen/following{/other_user}","gists_url":"https://api.github.com/users/essen/gists{/gist_id}","starred_url":"https://api.github.com/users/essen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/essen/subscriptions","organizations_url":"https://api.github.com/users/essen/orgs","repos_url":"https://api.github.com/users/essen/repos","events_url":"https://api.github.com/users/essen/events{/privacy}","received_events_url":"https://api.github.com/users/essen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-06-14T07:16:38Z","updated_at":"2018-08-13T14:50:04Z","closed_at":null,"author_association":"MEMBER","body":"cowboy_rest should catch the error and provide more information than is currently available because it's currently difficult to figure out what is being sent."},"comment":{"url":"https://api.github.com/repos/ninenines/cowboy/issues/comments/412545258","html_url":"https://github.com/ninenines/cowboy/issues/1298#issuecomment-412545258","issue_url":"https://api.github.com/repos/ninenines/cowboy/issues/1298","id":412545258,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMjU0NTI1OA==","user":{"login":"essen","id":141739,"node_id":"MDQ6VXNlcjE0MTczOQ==","avatar_url":"https://avatars2.githubusercontent.com/u/141739?v=4","gravatar_id":"","url":"https://api.github.com/users/essen","html_url":"https://github.com/essen","followers_url":"https://api.github.com/users/essen/followers","following_url":"https://api.github.com/users/essen/following{/other_user}","gists_url":"https://api.github.com/users/essen/gists{/gist_id}","starred_url":"https://api.github.com/users/essen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/essen/subscriptions","organizations_url":"https://api.github.com/users/essen/orgs","repos_url":"https://api.github.com/users/essen/repos","events_url":"https://api.github.com/users/essen/events{/privacy}","received_events_url":"https://api.github.com/users/essen/received_events","type":"User","site_admin":false},"created_at":"2018-08-13T14:50:04Z","updated_at":"2018-08-13T14:50:04Z","author_association":"MEMBER","body":"Going with this for your error:\r\n\r\n```\r\n=ERROR REPORT==== 13-Aug-2018::16:41:49 ===\r\nRanch listener h2, connection process <0.316.0>, stream 1 had its request process <0.318.0> exit with reason {error,{missing_callback,provide_callback_missing_h,provide},'A callback specified in content_types_provided/2 is not exported.'} and stacktrace [{cowboy_rest,set_resp_body,2,[{file,\"src/cowboy_rest.erl\"},{line,1073}]},{cowboy_rest,upgrade,4,[{file,\"src/cowboy_rest.erl\"},{line,264}]},{cowboy_stream_h,execute,3,[{file,\"src/cowboy_stream_h.erl\"},{line,293}]},{cowboy_stream_h,request_process,3,[{file,\"src/cowboy_stream_h.erl\"},{line,271}]},{proc_lib,init_p_do_apply,3,[{file,\"proc_lib.erl\"},{line,249}]}]\r\n```\r\n\r\nIt should also appear in the crash report."}}
{"actor":{"display_login":"essen"}}