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

Conversation

@tigeba
Copy link
Contributor

@tigeba tigeba commented Apr 23, 2025

Generate source-maps for compiled Typescript and enable use of source-maps in NODE_OPTIONS. This will make stacktraces have correct line numbers for Typescript source.

Before submitting this PR, please make sure:

  • [ X] Your code builds clean without any errors or warnings
  • [X ] You are using approved title ("feat/", "fix/", "docs/", "refactor/")

A description of the changes proposed in the pull request:

This change builds source-maps with the Typescript compiler and enables source-maps in the node runtime

Tests performed by the developer:

Checked that source-maps were run and generated by tsc. Ran server with pnpm start and triggered an error that generated a stacktrace, which now shows line numbers in the Typescript source.

Tips for QA testing:
Build and run server. Trigger some sort of exception to verify stacktrace.

Generate source-maps for compiled Typescript and enable use of source-maps in NODE_OPTIONS.  This will make stacktraces have correct line numbers for Typescript source.
@fengtality fengtality merged commit 3e40ab3 into hummingbot:development Apr 23, 2025
1 check passed
@rapcmia rapcmia moved this to Development 2.6.0 in Pull Request Board Apr 23, 2025
@rapcmia rapcmia mentioned this pull request May 30, 2025
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants