Skip to content

Commit

Permalink
wip(console): message
Browse files Browse the repository at this point in the history
  • Loading branch information
fxy060608 committed Dec 27, 2024
1 parent 8e231bb commit e414887
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 deletions.
4 changes: 2 additions & 2 deletions packages/uni-console/dist/__uniwebview.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -428,9 +428,9 @@
}
if (err instanceof Error && err.stack) {
if (err.message && !err.stack.includes(err.message)) {
return prefix + err.message + '\n' + err.stack;
return "".concat(prefix).concat(err.message, "\n").concat(err.stack);
}
return prefix + err.stack;
return "".concat(prefix).concat(err.stack);
}
if (typeof err === 'object' && err !== null) {
try {
Expand Down
2 changes: 1 addition & 1 deletion packages/uni-console/dist/__uniwebview.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit e414887

Please sign in to comment.