deno_core icon indicating copy to clipboard operation
deno_core copied to clipboard

Errors raised from `ext:` code are badly formatted

Open bartlomieju opened this issue 3 months ago • 3 comments

I've seen this multiple times now and was wondering why we're getting line numbers that are way greater than line count in a file, eg:

ext:deno_console/01_console.js:95817: Uncaught Error: The 'properties' argument must be of type Array. Received type object

Turns out the error is badly formatted and there's a missing colon there that denotes <line_no>:<column_no>. I'm not entirely sure where this comes from but we need to fix it as it makes debugging really hard.

bartlomieju avatar Mar 14 '24 22:03 bartlomieju