Azure / Azure/azure-functions-powershell-worker

Log the script line number and the list of modules and versions that are loaded in the current session when a CommandNotFoundException is encountered in a function invocation

Open
#803 0 comments 0 reactions 1 assignee Claimed by @Francisco-Gamino View on GitHub
P1
Dominant language
C#
Stars
215
Forks
61
Avg merge
21h 4m
Merged PRs (30d)
6

Description

Currently, it is difficult to diagnose an issue where a function invocation results in a CommandNotFoundException. To help with investigations like this in the future, we should log the script line number that caused the exception.

Also, consider printing the list of modules and versions that are loaded in the current session.

Related [CRI](https://portal.microsofticm.com/imp/v3/incidents/details/296206151/home).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.