-
Notifications
You must be signed in to change notification settings - Fork 373
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: enhance unknown error logger (#4647)
* fix: we can use console-trace to follow unknown error call stack * chore: add changeset
- Loading branch information
1 parent
be6cb8f
commit 843cb2c
Showing
2 changed files
with
10 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'@modern-js/core': patch | ||
--- | ||
|
||
fix(core): we should not pass it, if err is not instanceof Error. | ||
fix(core): 如果 err 不属于错误,我们不应该直接丢弃它 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters