Logging logs wrong file and line due to "lazy" function #7954
Labels
area/chain
Area: Chain
dif/easy
An existing lotus user should be able to pick this up
effort/hours
Effort: Hours
kind/bug
Kind: Bug
P2
P2: Should be resolved
Checklist
Latest release
, or the most recent RC(release canadiate) for the upcoming release or the dev branch(master), or have an issue updating to any of these.Lotus component
Lotus Version
Describe the Bug
This bit of code: https://github.com/filecoin-project/lotus/blob/v1.14.0-rc1/chain/vm/runtime.go#L637-L648 causes any logs to be written as if they were coming from that line.
Example:
The line
vm/runtime.go:633
reflects this line, not the original line it was called - this entire function should either be removed or it should be reflecting the originating calls' line & file.The text was updated successfully, but these errors were encountered: