{"action":"closed","issue":{"url":"https://api.github.com/repos/projectkudu/AzureFunctionsPortal/issues/887","repository_url":"https://api.github.com/repos/projectkudu/AzureFunctionsPortal","labels_url":"https://api.github.com/repos/projectkudu/AzureFunctionsPortal/issues/887/labels{/name}","comments_url":"https://api.github.com/repos/projectkudu/AzureFunctionsPortal/issues/887/comments","events_url":"https://api.github.com/repos/projectkudu/AzureFunctionsPortal/issues/887/events","html_url":"https://github.com/projectkudu/AzureFunctionsPortal/issues/887","id":202778241,"number":887,"title":"Clearly indicate which function the list of console errors relates to.","user":{"login":"rndthoughts","id":4190823,"avatar_url":"https://avatars.githubusercontent.com/u/4190823?v=3","gravatar_id":"","url":"https://api.github.com/users/rndthoughts","html_url":"https://github.com/rndthoughts","followers_url":"https://api.github.com/users/rndthoughts/followers","following_url":"https://api.github.com/users/rndthoughts/following{/other_user}","gists_url":"https://api.github.com/users/rndthoughts/gists{/gist_id}","starred_url":"https://api.github.com/users/rndthoughts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rndthoughts/subscriptions","organizations_url":"https://api.github.com/users/rndthoughts/orgs","repos_url":"https://api.github.com/users/rndthoughts/repos","events_url":"https://api.github.com/users/rndthoughts/events{/privacy}","received_events_url":"https://api.github.com/users/rndthoughts/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-01-24T10:25:04Z","updated_at":"2017-01-24T21:38:22Z","closed_at":"2017-01-24T21:38:22Z","body":"When there are multiple functions in a project, the output error list delimits each block of errors by writing out \"Function compilation error\" each time it completes compiling run.csx with errors.  This caused me issues when I was trying to determine which file each set of errors related to.\r\n\r\nWould it be possible to at least output the name of the function being compiled each time along with the errors?\r\n\r\nAn example - I have two functions throwing errors:\r\n\r\n```\r\n                  %%%%%%\r\n                 %%%%%%\r\n            @   %%%%%%    @\r\n          @@   %%%%%%      @@\r\n       @@@    %%%%%%%%%%%    @@@\r\n     @@      %%%%%%%%%%        @@\r\n       @@         %%%%       @@\r\n         @@      %%%       @@\r\n           @@    %%      @@\r\n                %%\r\n                %\r\n\r\nListening on http://localhost:7071/\r\nHit CTRL-C to exit...\r\nReading host configuration file 'C:\\Users\\Steve\\Source\\Repos\\Platform\\Functions\\host.json'\r\nrun.csx(2,7): error CS0246: The type or namespace name 'Sendgrid' could not be found (are you missing a using directive or an assembly reference?)\r\nrun.csx(3,7): error CS0246: The type or namespace name 'Sendgrid' could not be found (are you missing a using directive or an assembly reference?)\r\nrun.csx(4,7): error CS0246: The type or namespace name 'Dapper' could not be found (are you missing a using directive or an assembly reference?)\r\nrun.csx(5,14): error CS0234: The type or namespace name 'Data' does not exist in the namespace 'System' (are you missing an assembly reference?)\r\nFunction compilation error\r\nrun.csx(8,7): error CS0246: The type or namespace name 'Newtonsoft' could not be found (are you missing a using directive or an assembly reference?)\r\nrun.csx(24,6): error CS0246: The type or namespace name 'JsonPropertyAttribute' could not be found (are you missing a using directive or an assembly reference?)\r\nrun.csx(24,6): error CS0246: The type or namespace name 'JsonProperty' could not be found (are you missing a using directive or an assembly reference?)\r\nrun.csx(24,19): error CS0246: The type or namespace name 'PropertyName' could not be found (are you missing a using directive or an assembly reference?)\r\nrun.csx(27,6): error CS0246: The type or namespace name 'JsonPropertyAttribute' could not be found (are you missing a using directive or an assembly reference?)Generating 2 job function(s)\r\nStarting Host (HostId=laptop-functions, Version=1.0.0.0, ProcessId=15424, Debug=True)\r\nFound the following functions:\r\nHost.Functions.NotifyContactsOnSync\r\nHost.Functions.UpdateCustomAdProperties\r\n```\r\n\r\nCould the framework insert something like:\r\n\r\n`Function compilation error - Host.Functions.NotifyContactsOnSync`\r\n\r\nMaybe in a different colour so it's easy to see?"}}
{"actor":{"display_login":"lindydonna"}}