Skip to content

Errors send messages #32

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ZachHaber
Copy link
Contributor

I realized with my usage of logFaces-HTTP locally that having the Error objects not be included in the message by default was rather confusing.

The first error object will still be sent using Error.toString which looks like Error: message, whereas everything after that will end up serialized with it's full stack and all.

Zachary Haber added 3 commits June 21, 2022 10:44
Only the first Error sent will avoid sending the full stack via `util.format`
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant