这是indexloc提供的服务,不要输入任何密码
Skip to content

console.trace is missing in the JS kit #248

@Angelmmiguel

Description

@Angelmmiguel

Describe the bug

The console.trace method is used by frameworks like HonoJS to provide extra information when capturing errors. This method is not present in the current SDK and is causing the framework to fail.

Reproduction steps

  1. Clone the project and go to the examples/js-hono folder
  2. Edit the src/index.js file and add a throw new Error("error!")` to any handler
  3. Run the example and access to the handler

Expected behavior

Instead of a generic error by wws, Hono should manage it and provide the error. Currently, it's failing because it tries to call console.trace.

Additional context

No response

Metadata

Metadata

Assignees

Labels

🐛 bugSomething isn't working🔨 sdksIssues related to language SDKs

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions