ModDota / BugTracker

Listing bugs for Dota 2 Custom Games
9 stars 1 forks source link

Undefined/null filename on JavaScript errors #129

Open Arhowk opened 7 years ago

Arhowk commented 7 years ago

For some errors and bugs in JavaScript, the console will occasionally give "undefined" as the position of the bug instead of the file causing the issue, like

! [undefined, line 29, column 10] unexpected identifier;

it would be helpful to have the actual file and line number so that we can debug the issues without it just failing like that.

It is believed to be due to passing bad arguments to internal functions but I'm not entirely certain on that