Deno: Error message show only file name instead of full path

Created on 10 May 2020  路  2Comments  路  Source: denoland/deno

When I import any deno module (for ex, the parse module), the error message show only the file name instead of the full path of the source file. That avoid the vscode from creating a link where I can click and jump to the line of the error.

image

Without importing anything, the full path of the file is shown as expected.

image

bug cli core

Most helpful comment

A relative path would also work as a link, and would be more readable IMO:

$ deno run foo.ts
error: Uncaught Error: A custom error msg
throw new Error("A custom error msg");
      ^
    at ./foo.ts:3:7

All 2 comments

A relative path would also work as a link, and would be more readable IMO:

$ deno run foo.ts
error: Uncaught Error: A custom error msg
throw new Error("A custom error msg");
      ^
    at ./foo.ts:3:7

I don't know if it is related but since today the fullpath is missing in the stacktrace in my github CI:

image

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ry picture ry  路  3Comments

somombo picture somombo  路  3Comments

ry picture ry  路  3Comments

JosephAkayesi picture JosephAkayesi  路  3Comments

xueqingxiao picture xueqingxiao  路  3Comments