Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: truncate error string if it is too long
We use esbuild to transform ts files to js ones. When handling unexpected error messages, it may print the transpiled minified js file code. This is meaningless, so if the stringified error is too long, truncate it.
- Loading branch information