When streaming logs in VS Code, if my function throws and exception, the stack trace is not displayed in the logs, making it difficult to debug the issue:

Note that it might not be directly related to the extension, but more likely to the core tools.
Tested with JS Functions.
Original internal backlog issue: https://dev.azure.com/azuretracking/Azure%20tracking/_workitems/edit/1723