{"action":"opened","number":12,"pull_request":{"url":"https://api.github.com/repos/jessebenson/service-fabric-queryable/pulls/12","id":212377904,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEyMzc3OTA0","html_url":"https://github.com/jessebenson/service-fabric-queryable/pull/12","diff_url":"https://github.com/jessebenson/service-fabric-queryable/pull/12.diff","patch_url":"https://github.com/jessebenson/service-fabric-queryable/pull/12.patch","issue_url":"https://api.github.com/repos/jessebenson/service-fabric-queryable/issues/12","number":12,"state":"open","locked":false,"title":"Show complete exception with stack trace and inner exception on Error","user":{"login":"ashishnegi","id":1728946,"node_id":"MDQ6VXNlcjE3Mjg5NDY=","avatar_url":"https://avatars0.githubusercontent.com/u/1728946?v=4","gravatar_id":"","url":"https://api.github.com/users/ashishnegi","html_url":"https://github.com/ashishnegi","followers_url":"https://api.github.com/users/ashishnegi/followers","following_url":"https://api.github.com/users/ashishnegi/following{/other_user}","gists_url":"https://api.github.com/users/ashishnegi/gists{/gist_id}","starred_url":"https://api.github.com/users/ashishnegi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashishnegi/subscriptions","organizations_url":"https://api.github.com/users/ashishnegi/orgs","repos_url":"https://api.github.com/users/ashishnegi/repos","events_url":"https://api.github.com/users/ashishnegi/events{/privacy}","received_events_url":"https://api.github.com/users/ashishnegi/received_events","type":"User","site_admin":false},"body":"Without this change, I get :\r\n\r\n```\r\nThe type initializer for 'System.Web.Http.OData.Formatter.EdmLibHelpers' threw an exception.\r\n```\r\n\r\nWith this, I get:\r\n```\r\n\"System.TypeInitializationException: The type initializer for 'System.Web.Http.OData.Formatter.EdmLibHelpers' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Data.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. The system cannot find the file specified.\\r\\n\r\n   at System.Web.Http.OData.Formatter.EdmLibHelpers..cctor()\\r\\n\r\n   --- End of inner exception stack trace ---\\r\\n\r\n   at System.Web.Http.OData.Formatter.EdmLibHelpers.MangleClrTypeName(Type type)\\r\\n\r\n   at System.Web.Http.OData.Builder.StructuralTypeConfiguration..ctor(ODataModelBuilder modelBuilder, Type clrType)\\r\\n\r\n   at System.Web.Http.OData.Builder.ODataModelBuilder.AddEntity(Type type)\\r\\n\r\n   at System.Web.Http.OData.Builder.ODataConventionModelBuilder.AddEntity(Type type)\\r\\n\r\n   at ServiceFabric.Extensions.Services.Queryable.ReliableStateExtensions.GetMetadataAsync(IReliableStateManager stateManager)\\r\\n\r\n   at ServiceFabric.Extensions.Services.Queryable.ODataQueryableMiddleware.GetMetadataAsync(HttpContext httpContext, StatefulServiceContext serviceContext, IReliableStateManager stateManager)\\r\\n\r\n   at ServiceFabric.Extensions.Services.Queryable.ODataQueryableMiddleware.InvokeQueryHandler(HttpContext httpContext, StatefulServiceContext serviceContext, IReliableStateManager stateManager)\"\r\n\r\n```\r\n\r\nHence, debuggability is easy.","created_at":"2018-08-31T13:08:29Z","updated_at":"2018-08-31T13:08:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/jessebenson/service-fabric-queryable/pulls/12/commits","review_comments_url":"https://api.github.com/repos/jessebenson/service-fabric-queryable/pulls/12/comments","review_comment_url":"https://api.github.com/repos/jessebenson/service-fabric-queryable/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jessebenson/service-fabric-queryable/issues/12/comments","statuses_url":"https://api.github.com/repos/jessebenson/service-fabric-queryable/statuses/bb53ad140371e3053fb9c07c27413be056ce0a32","head":{"label":"ashishnegi:fix_exception_msg","ref":"fix_exception_msg","sha":"bb53ad140371e3053fb9c07c27413be056ce0a32","user":{"login":"ashishnegi","id":1728946,"node_id":"MDQ6VXNlcjE3Mjg5NDY=","avatar_url":"https://avatars0.githubusercontent.com/u/1728946?v=4","gravatar_id":"","url":"https://api.github.com/users/ashishnegi","html_url":"https://github.com/ashishnegi","followers_url":"https://api.github.com/users/ashishnegi/followers","following_url":"https://api.github.com/users/ashishnegi/following{/other_user}","gists_url":"https://api.github.com/users/ashishnegi/gists{/gist_id}","starred_url":"https://api.github.com/users/ashishnegi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashishnegi/subscriptions","organizations_url":"https://api.github.com/users/ashishnegi/orgs","repos_url":"https://api.github.com/users/ashishnegi/repos","events_url":"https://api.github.com/users/ashishnegi/events{/privacy}","received_events_url":"https://api.github.com/users/ashishnegi/received_events","type":"User","site_admin":false},"repo":{"id":146875445,"node_id":"MDEwOlJlcG9zaXRvcnkxNDY4NzU0NDU=","name":"service-fabric-queryable","full_name":"ashishnegi/service-fabric-queryable","owner":{"login":"ashishnegi","id":1728946,"node_id":"MDQ6VXNlcjE3Mjg5NDY=","avatar_url":"https://avatars0.githubusercontent.com/u/1728946?v=4","gravatar_id":"","url":"https://api.github.com/users/ashishnegi","html_url":"https://github.com/ashishnegi","followers_url":"https://api.github.com/users/ashishnegi/followers","following_url":"https://api.github.com/users/ashishnegi/following{/other_user}","gists_url":"https://api.github.com/users/ashishnegi/gists{/gist_id}","starred_url":"https://api.github.com/users/ashishnegi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashishnegi/subscriptions","organizations_url":"https://api.github.com/users/ashishnegi/orgs","repos_url":"https://api.github.com/users/ashishnegi/repos","events_url":"https://api.github.com/users/ashishnegi/events{/privacy}","received_events_url":"https://api.github.com/users/ashishnegi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ashishnegi/service-fabric-queryable","description":"Enable query support for your stateful services in Service Fabric via the OData protocol.","fork":true,"url":"https://api.github.com/repos/ashishnegi/service-fabric-queryable","forks_url":"https://api.github.com/repos/ashishnegi/service-fabric-queryable/forks","keys_url":"https://api.github.com/repos/ashishnegi/service-fabric-queryable/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ashishnegi/service-fabric-queryable/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ashishnegi/service-fabric-queryable/teams","hooks_url":"https://api.github.com/repos/ashishnegi/service-fabric-queryable/hooks","issue_events_url":"https://api.github.com/repos/ashishnegi/service-fabric-queryable/issues/events{/number}","events_url":"https://api.github.com/repos/ashishnegi/service-fabric-queryable/events","assignees_url":"https://api.github.com/repos/ashishnegi/service-fabric-queryable/assignees{/user}","branches_url":"https://api.github.com/repos/ashishnegi/service-fabric-queryable/branches{/branch}","tags_url":"https://api.github.com/repos/ashishnegi/service-fabric-queryable/tags","blobs_url":"https://api.github.com/repos/ashishnegi/service-fabric-queryable/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ashishnegi/service-fabric-queryable/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ashishnegi/service-fabric-queryable/git/refs{/sha}","trees_url":"https://api.github.com/repos/ashishnegi/service-fabric-queryable/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ashishnegi/service-fabric-queryable/statuses/{sha}","languages_url":"https://api.github.com/repos/ashishnegi/service-fabric-queryable/languages","stargazers_url":"https://api.github.com/repos/ashishnegi/service-fabric-queryable/stargazers","contributors_url":"https://api.github.com/repos/ashishnegi/service-fabric-queryable/contributors","subscribers_url":"https://api.github.com/repos/ashishnegi/service-fabric-queryable/subscribers","subscription_url":"https://api.github.com/repos/ashishnegi/service-fabric-queryable/subscription","commits_url":"https://api.github.com/repos/ashishnegi/service-fabric-queryable/commits{/sha}","git_commits_url":"https://api.github.com/repos/ashishnegi/service-fabric-queryable/git/commits{/sha}","comments_url":"https://api.github.com/repos/ashishnegi/service-fabric-queryable/comments{/number}","issue_comment_url":"https://api.github.com/repos/ashishnegi/service-fabric-queryable/issues/comments{/number}","contents_url":"https://api.github.com/repos/ashishnegi/service-fabric-queryable/contents/{+path}","compare_url":"https://api.github.com/repos/ashishnegi/service-fabric-queryable/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ashishnegi/service-fabric-queryable/merges","archive_url":"https://api.github.com/repos/ashishnegi/service-fabric-queryable/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ashishnegi/service-fabric-queryable/downloads","issues_url":"https://api.github.com/repos/ashishnegi/service-fabric-queryable/issues{/number}","pulls_url":"https://api.github.com/repos/ashishnegi/service-fabric-queryable/pulls{/number}","milestones_url":"https://api.github.com/repos/ashishnegi/service-fabric-queryable/milestones{/number}","notifications_url":"https://api.github.com/repos/ashishnegi/service-fabric-queryable/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ashishnegi/service-fabric-queryable/labels{/name}","releases_url":"https://api.github.com/repos/ashishnegi/service-fabric-queryable/releases{/id}","deployments_url":"https://api.github.com/repos/ashishnegi/service-fabric-queryable/deployments","created_at":"2018-08-31T10:08:36Z","updated_at":"2018-08-31T10:08:38Z","pushed_at":"2018-08-31T10:10:28Z","git_url":"git://github.com/ashishnegi/service-fabric-queryable.git","ssh_url":"git@github.com:ashishnegi/service-fabric-queryable.git","clone_url":"https://github.com/ashishnegi/service-fabric-queryable.git","svn_url":"https://github.com/ashishnegi/service-fabric-queryable","homepage":"","size":360,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jessebenson:master","ref":"master","sha":"b5925e3054740423d9a484a9d71a4764d41b9964","user":{"login":"jessebenson","id":8907830,"node_id":"MDQ6VXNlcjg5MDc4MzA=","avatar_url":"https://avatars0.githubusercontent.com/u/8907830?v=4","gravatar_id":"","url":"https://api.github.com/users/jessebenson","html_url":"https://github.com/jessebenson","followers_url":"https://api.github.com/users/jessebenson/followers","following_url":"https://api.github.com/users/jessebenson/following{/other_user}","gists_url":"https://api.github.com/users/jessebenson/gists{/gist_id}","starred_url":"https://api.github.com/users/jessebenson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jessebenson/subscriptions","organizations_url":"https://api.github.com/users/jessebenson/orgs","repos_url":"https://api.github.com/users/jessebenson/repos","events_url":"https://api.github.com/users/jessebenson/events{/privacy}","received_events_url":"https://api.github.com/users/jessebenson/received_events","type":"User","site_admin":false},"repo":{"id":91866214,"node_id":"MDEwOlJlcG9zaXRvcnk5MTg2NjIxNA==","name":"service-fabric-queryable","full_name":"jessebenson/service-fabric-queryable","owner":{"login":"jessebenson","id":8907830,"node_id":"MDQ6VXNlcjg5MDc4MzA=","avatar_url":"https://avatars0.githubusercontent.com/u/8907830?v=4","gravatar_id":"","url":"https://api.github.com/users/jessebenson","html_url":"https://github.com/jessebenson","followers_url":"https://api.github.com/users/jessebenson/followers","following_url":"https://api.github.com/users/jessebenson/following{/other_user}","gists_url":"https://api.github.com/users/jessebenson/gists{/gist_id}","starred_url":"https://api.github.com/users/jessebenson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jessebenson/subscriptions","organizations_url":"https://api.github.com/users/jessebenson/orgs","repos_url":"https://api.github.com/users/jessebenson/repos","events_url":"https://api.github.com/users/jessebenson/events{/privacy}","received_events_url":"https://api.github.com/users/jessebenson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jessebenson/service-fabric-queryable","description":"Enable query support for your stateful services in Service Fabric via the OData protocol.","fork":false,"url":"https://api.github.com/repos/jessebenson/service-fabric-queryable","forks_url":"https://api.github.com/repos/jessebenson/service-fabric-queryable/forks","keys_url":"https://api.github.com/repos/jessebenson/service-fabric-queryable/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jessebenson/service-fabric-queryable/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jessebenson/service-fabric-queryable/teams","hooks_url":"https://api.github.com/repos/jessebenson/service-fabric-queryable/hooks","issue_events_url":"https://api.github.com/repos/jessebenson/service-fabric-queryable/issues/events{/number}","events_url":"https://api.github.com/repos/jessebenson/service-fabric-queryable/events","assignees_url":"https://api.github.com/repos/jessebenson/service-fabric-queryable/assignees{/user}","branches_url":"https://api.github.com/repos/jessebenson/service-fabric-queryable/branches{/branch}","tags_url":"https://api.github.com/repos/jessebenson/service-fabric-queryable/tags","blobs_url":"https://api.github.com/repos/jessebenson/service-fabric-queryable/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jessebenson/service-fabric-queryable/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jessebenson/service-fabric-queryable/git/refs{/sha}","trees_url":"https://api.github.com/repos/jessebenson/service-fabric-queryable/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jessebenson/service-fabric-queryable/statuses/{sha}","languages_url":"https://api.github.com/repos/jessebenson/service-fabric-queryable/languages","stargazers_url":"https://api.github.com/repos/jessebenson/service-fabric-queryable/stargazers","contributors_url":"https://api.github.com/repos/jessebenson/service-fabric-queryable/contributors","subscribers_url":"https://api.github.com/repos/jessebenson/service-fabric-queryable/subscribers","subscription_url":"https://api.github.com/repos/jessebenson/service-fabric-queryable/subscription","commits_url":"https://api.github.com/repos/jessebenson/service-fabric-queryable/commits{/sha}","git_commits_url":"https://api.github.com/repos/jessebenson/service-fabric-queryable/git/commits{/sha}","comments_url":"https://api.github.com/repos/jessebenson/service-fabric-queryable/comments{/number}","issue_comment_url":"https://api.github.com/repos/jessebenson/service-fabric-queryable/issues/comments{/number}","contents_url":"https://api.github.com/repos/jessebenson/service-fabric-queryable/contents/{+path}","compare_url":"https://api.github.com/repos/jessebenson/service-fabric-queryable/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jessebenson/service-fabric-queryable/merges","archive_url":"https://api.github.com/repos/jessebenson/service-fabric-queryable/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jessebenson/service-fabric-queryable/downloads","issues_url":"https://api.github.com/repos/jessebenson/service-fabric-queryable/issues{/number}","pulls_url":"https://api.github.com/repos/jessebenson/service-fabric-queryable/pulls{/number}","milestones_url":"https://api.github.com/repos/jessebenson/service-fabric-queryable/milestones{/number}","notifications_url":"https://api.github.com/repos/jessebenson/service-fabric-queryable/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jessebenson/service-fabric-queryable/labels{/name}","releases_url":"https://api.github.com/repos/jessebenson/service-fabric-queryable/releases{/id}","deployments_url":"https://api.github.com/repos/jessebenson/service-fabric-queryable/deployments","created_at":"2017-05-20T04:57:36Z","updated_at":"2018-08-28T08:04:40Z","pushed_at":"2018-08-02T23:25:00Z","git_url":"git://github.com/jessebenson/service-fabric-queryable.git","ssh_url":"git@github.com:jessebenson/service-fabric-queryable.git","clone_url":"https://github.com/jessebenson/service-fabric-queryable.git","svn_url":"https://github.com/jessebenson/service-fabric-queryable","homepage":"","size":360,"stargazers_count":23,"watchers_count":23,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":7,"open_issues":2,"watchers":23,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jessebenson/service-fabric-queryable/pulls/12"},"html":{"href":"https://github.com/jessebenson/service-fabric-queryable/pull/12"},"issue":{"href":"https://api.github.com/repos/jessebenson/service-fabric-queryable/issues/12"},"comments":{"href":"https://api.github.com/repos/jessebenson/service-fabric-queryable/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/jessebenson/service-fabric-queryable/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/jessebenson/service-fabric-queryable/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jessebenson/service-fabric-queryable/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/jessebenson/service-fabric-queryable/statuses/bb53ad140371e3053fb9c07c27413be056ce0a32"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"ashishnegi"}}