Line number bug when used on node.js for Windows#10
Line number bug when used on node.js for Windows#10haroldo-ok wants to merge 2 commits intoigo:masterfrom
Conversation
|
can you please send how does e.stack looks on windows? I want to avoid try-catch block because they are slow. |
|
Of course! Here you go: Error: This is an stack trace test As you can see, the great villain here is the drive letter, whose Em 18/03/2012 06:33, Igor Urminček escreveu:
|
Hello,
I've just corrected a bug on the line number routine, when running on windows: the drive letter got in the way, and the routine returned the file path instead of the line number. I got around it by using a regex to extract the line number. Haven't tested it on Linux, but should work okay, too.