Row numbers for errors in app

Product: PowerShell Universal
Version: 4.0.12

When I get an error within an app and get something like this in the log:

…how do I know where it went wrong? The line numbers reported (both 102 and 126 in this example) seem like completely bogus to me, none of them contains anything that could be related to the reported errors. Is it a bug in how psu reports the line numbers or is there anything I might do wrong?