kubeless icon indicating copy to clipboard operation
kubeless copied to clipboard

Python runtime debug in function

Open pedxyuyuko opened this issue 5 years ago • 0 comments

Is this a BUG REPORT or FEATURE REQUEST?: FEATURE REQUEST

What happened: When the function has an error and it print the stack trace, the line number of the function is incorrect.

What you expected to happen: The line in stack trace shows the correct error line in source file. image There is no line 87 in my source file.

How to reproduce it (as minimally and precisely as possible):

  • Make a grammarly incorrect funtion or some error such as type err

Anything else we need to know?: No :)

Environment:

  • Kubernetes version (use kubectl version):
Client Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.0", GitCommit:"af46c47ce925f4c4ad5cc8d1fca46c7b77d13b38", GitTreeState:"clean", BuildDate:"2020-12-08T17:59:43Z", GoVersion:"go1.15.5", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.0", GitCommit:"af46c47ce925f4c4ad5cc8d1fca46c7b77d13b38", GitTreeState:"clean", BuildDate:"2020-12-08T17:51:19Z", GoVersion:"go1.15.5", Compiler:"gc", Platform:"linux/amd64"}
  • Kubeless version (use kubeless version): v1.0.7-dirty
  • Cloud provider or physical cluster: physical cluster

pedxyuyuko avatar Dec 28 '20 08:12 pedxyuyuko