{"action":"opened","issue":{"url":"https://api.github.com/repos/toddams/RazorLight/issues/215","repository_url":"https://api.github.com/repos/toddams/RazorLight","labels_url":"https://api.github.com/repos/toddams/RazorLight/issues/215/labels{/name}","comments_url":"https://api.github.com/repos/toddams/RazorLight/issues/215/comments","events_url":"https://api.github.com/repos/toddams/RazorLight/issues/215/events","html_url":"https://github.com/toddams/RazorLight/issues/215","id":357205861,"node_id":"MDU6SXNzdWUzNTcyMDU4NjE=","number":215,"title":"Unclear (incorrect) error message","user":{"login":"ReinisV","id":10805335,"node_id":"MDQ6VXNlcjEwODA1MzM1","avatar_url":"https://avatars0.githubusercontent.com/u/10805335?v=4","gravatar_id":"","url":"https://api.github.com/users/ReinisV","html_url":"https://github.com/ReinisV","followers_url":"https://api.github.com/users/ReinisV/followers","following_url":"https://api.github.com/users/ReinisV/following{/other_user}","gists_url":"https://api.github.com/users/ReinisV/gists{/gist_id}","starred_url":"https://api.github.com/users/ReinisV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ReinisV/subscriptions","organizations_url":"https://api.github.com/users/ReinisV/orgs","repos_url":"https://api.github.com/users/ReinisV/repos","events_url":"https://api.github.com/users/ReinisV/events{/privacy}","received_events_url":"https://api.github.com/users/ReinisV/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-05T12:29:04Z","updated_at":"2018-09-05T12:29:04Z","closed_at":null,"author_association":"NONE","body":"**Describe the bug**\r\n[This](https://github.com/toddams/RazorLight/blob/744f545227083f17c63bcdef989bd5c2017ef53b/src/RazorLight/Generation/RazorSourceGenerator.cs#L50) error message contains a formatting marker ('{0}'), but the message is never formatted (the key is never inserted)\r\n\r\n**To Reproduce**\r\nCause the error to be thrown\r\n\r\n**Expected behavior**\r\nThe key should be inserted in the error message (the message should be formatted)\r\n\r\n**Information (please complete the following information):**\r\n - OS: [ e.g Ubuntu 16.04, Windows Server 2016, etc ]\r\n - Platform [.NET Framework 4.x / .NET Core 2.x , etc]\r\n - RazorLight version [ e.g 2.0-beta1 ]\r\n\r\n**Additional context**\r\nAdd any other context about the problem here.\r\n\r\n\r\n"}}
{"actor":{"display_login":"ReinisV"}}